server/apps/files_external/lib
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
..
AppInfo move personal external storage settings to it's own section 2017-06-23 12:37:42 +02:00
Command reviewed 2017-04-20 11:31:04 +02:00
Config allow apps to set custom mount types 2017-04-28 09:38:21 +02:00
Controller Allow 2048 and 4096 bit SFTP keys 2017-06-29 09:32:24 +02:00
Lib Run phan over code base 2017-07-19 10:28:11 +02:00
Migration [files_external] Remove unneeded update steps 2017-04-12 00:45:19 -05:00
Service Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
Settings move personal external storage settings to it's own section 2017-06-23 12:37:42 +02:00
config.php layout refinements 2016-08-17 10:40:59 +02:00
NotFoundException.php Fix apps/ 2016-07-21 18:13:57 +02:00