server/apps/files_external/lib/Service
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections
This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues.

As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections.

The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-20 22:48:13 +02:00
..
BackendService.php Fix apps/ 2016-07-21 18:13:57 +02:00
DBConfigService.php Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
GlobalStoragesService.php Update with robin 2016-07-21 18:13:58 +02:00
ImportLegacyStoragesService.php Update with robin 2016-07-21 18:13:58 +02:00
LegacyStoragesService.php Update with robin 2016-07-21 18:13:58 +02:00
StoragesService.php Fix translations 2017-04-18 16:40:53 -05:00
UserGlobalStoragesService.php get files_external mounts more efficiently 2016-09-05 14:34:20 +02:00
UserLegacyStoragesService.php Update with robin 2016-07-21 18:13:58 +02:00
UserStoragesService.php Update with robin 2016-07-21 18:13:58 +02:00
UserTrait.php Fix apps/ 2016-07-21 18:13:57 +02:00