server/lib/private/Files/Cache
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
..
Wrapper Fix propagating changes within jail wrapper 2017-07-11 17:55:04 +02:00
Cache.php Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
CacheEntry.php always use numeric storage id in cacheentry 2016-12-13 12:53:38 +01:00
FailedCache.php Implement webdav SEARCH 2017-03-01 14:06:39 +01:00
HomeCache.php Update with robin 2016-07-21 18:13:58 +02:00
HomePropagator.php Update with robin 2016-07-21 18:13:58 +02:00
MoveFromCacheTrait.php Update with robin 2016-07-21 18:13:58 +02:00
Propagator.php Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
QuerySearchHelper.php Allow searching file by fileid 2017-04-05 15:22:53 +02:00
Scanner.php use unmasked permissions during scanning 2017-05-18 16:38:54 +02:00
Storage.php more efficient querying of numeric storage ids 2016-09-07 17:22:40 +02:00
StorageGlobal.php Remove unused use statements 2017-04-22 19:23:31 -05:00
Updater.php Update with robin 2016-07-21 18:13:58 +02:00
Watcher.php Update with robin 2016-07-21 18:13:58 +02:00