1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/lib/REST
J. King d365529493 Multiple fixes to input sanitization
- Database functions now accept any input, but throw typeViolation exceptions where appropriate instead of idMissing or subjectMissing
- Added unit tests for the new Misc\ValueInfo static class
- Added ValueInfo::id() method to centrally validate database IDs, and made use of it consistently
- Made use of PHP's filter_var() function where appropriate when validating or sanitizing input
- Made the NCN protocol handler reject most invalid IDs before handing off to method handlers
- Made NCN's feedUpdate and subscriptionMove methods return 422 on invalid input
- Adjusted several tests to handler type violations
2017-09-27 22:25:45 -04:00
..
NextCloudNews Multiple fixes to input sanitization 2017-09-27 22:25:45 -04:00
AbstractHandler.php Multiple fixes to input sanitization 2017-09-27 22:25:45 -04:00
Exception.php Passed code through linter 2017-08-29 10:50:31 -04:00
Exception405.php Passed code through linter 2017-08-29 10:50:31 -04:00
Exception501.php Passed code through linter 2017-08-29 10:50:31 -04:00
Handler.php Passed code through linter 2017-08-29 10:50:31 -04:00
Request.php Sundry fixes 2017-09-05 19:35:14 -04:00
Response.php Passed code through linter 2017-08-29 10:50:31 -04:00