server/apps/dav
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 Bump app versions as well 2017-05-22 10:35:25 +02:00
bin Fix apps/ 2016-07-21 18:13:57 +02:00
l10n [tx-robot] updated from transifex 2017-07-15 00:08:54 +00:00
lib Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
templates Remove any detailed information about the exception in the browser error plugin 2016-10-25 14:47:33 +02:00
tests fix and extend dav test to also test the master-key setup 2017-07-06 11:47:11 +02:00
.gitignore Introducing CardDAV into core 2015-11-06 15:26:51 +01:00