Page MenuHomePhabricator

๐Ÿ” Validation and error handling
Closed, ResolvedPublic

Description

  • Update use case validator to validate the property ID via a new PropertyIdValidator class
  • Add a new error code to status code mapping to ErrorResponseToHttpStatus
  • Add/update e2e tests

Event Timeline

Change 889554 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Validate property ID in GET statements

https://gerrit.wikimedia.org/r/889554

Change 889554 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Validate property ID in GET statements

https://gerrit.wikimedia.org/r/889554