nextcloud/core
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
..
ajax Proper logging for appstore updates 2017-05-11 13:35:17 -05:00
Command Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
Controller Add public capabilities API 2017-06-30 11:08:04 +02:00
css Long app names will have ellipsis in the app menu popover. 2017-07-14 13:23:07 +02:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
fonts move font back from Light to Regular for body text on normal-res screens, fix #18954 2015-11-10 16:12:42 +01:00
img Merge pull request #5483 from nextcloud/issue-5075-png-files-for-activity-emails 2017-07-07 11:05:00 +02:00
js Merge pull request #5070 from nextcloud/theming-vs-themes 2017-07-13 13:41:31 +02:00
l10n [tx-robot] updated from transifex 2017-07-17 00:08:02 +00:00
Middleware Check whether the $_SERVER['REQUEST_*'] vars exist before using them 2017-05-15 14:33:27 +02:00
Migrations Add migration for personal settings stuff 2017-07-05 14:58:20 +02:00
search Remove single quotes around search query like in user search 2017-03-15 12:53:44 +01:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
templates Merge pull request #5520 from nextcloud/disable-click-on-hint 2017-07-05 16:19:09 +02:00
vendor Fix missing js merge on master 2017-06-09 14:33:14 +02:00
Application.php Automatic creation of Identity manager 2017-05-10 09:45:11 +02:00
register_command.php Do not allow to go back on productive systems 2017-07-05 13:01:19 +02:00
routes.php Run phan over code base 2017-07-19 10:28:11 +02:00
shipped.json Add missing version requirement to OAuth2 app 2017-05-22 09:56:49 +02:00
strings.php Update with robin 2016-07-21 18:13:58 +02:00