1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/lib
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
..
Conf Passed code through linter 2017-08-29 10:50:31 -04:00
Db Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
Feed Passed code through linter 2017-08-29 10:50:31 -04:00
Lang Passed code through linter 2017-08-29 10:50:31 -04:00
Misc Multiple fixes to input sanitization 2017-09-27 22:25:45 -04:00
REST Multiple fixes to input sanitization 2017-09-27 22:25:45 -04:00
Service Passed code through linter 2017-08-29 10:50:31 -04:00
User Passed code through linter 2017-08-29 10:50:31 -04:00
AbstractException.php Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
Arsse.php Passed code through linter 2017-08-29 10:50:31 -04:00
CLI.php Sundry fixes 2017-09-05 19:35:14 -04:00
Conf.php Fix export of nulls in Conf 2017-08-29 23:17:57 -04:00
Database.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
ExceptionFatal.php Passed code through linter 2017-08-29 10:50:31 -04:00
Feed.php Passed code through linter 2017-08-29 10:50:31 -04:00
Lang.php Sundry fixes 2017-09-05 19:35:14 -04:00
REST.php Passed code through linter 2017-08-29 10:50:31 -04:00
Service.php Passed code through linter 2017-08-29 10:50:31 -04:00
User.php Passed code through linter 2017-08-29 10:50:31 -04:00