nextcloud/lib/private/Files/Cache/Wrapper
Roeland Jago Douma 0277cd7158
Properly search the root of a shared external storage
Fixes #1020

When an external storage is shared with you in full the root is ''
(empty). This adds an extra check for an empty jail basically.

Because if the jail is on the empty string. It matches all paths.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-05 16:27:43 +01:00
..
CacheJail.php Properly search the root of a shared external storage 2018-11-05 16:27:43 +01:00
CachePermissionsMask.php use unmasked permissions during scanning 2017-05-18 16:38:54 +02:00
CacheWrapper.php pass `Cache::getMoveInfo` along cache wrappers 2018-10-17 14:57:33 +02:00
JailPropagator.php Update license headers 2017-11-06 16:56:19 +01:00