nextcloud/lib/private/Files
Roeland Jago Douma 8b03bf7d5a
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-09 13:23:52 +01:00
..
AppData Add Tests 2016-10-05 11:00:16 +02:00
Cache Properly search the root of a shared external storage 2018-11-09 13:23:52 +01:00
Config more efficient way to detect added and removed mounts 2018-08-27 16:25:42 +02:00
Mount cache OC\Files\Mount\Manager::findIn results 2018-08-27 16:25:37 +02:00
Node Actually return the root folder when traversing up the tree 2018-10-26 08:36:21 +02:00
Notify Add a more powerful notify mechanism 2017-01-27 10:44:33 +01:00
ObjectStore Add more logging for the object storage during creation of the buckets 2018-04-05 17:29:44 +02:00
Search Update license headers 2017-11-06 16:56:19 +01:00
SimpleFS Hardening of SimpleFile getContent 2018-03-02 21:23:41 +01:00
Storage Request a valid property for DAV opendir 2018-07-09 16:07:04 +02:00
Stream make file cache updates more robust 2018-08-08 10:46:14 +02:00
Type use insertIfNotExists to store new mimetypes. 2018-08-09 15:31:47 +02:00
Utils Do scan the root storage in background scan 2018-07-24 15:45:51 +02:00
FileInfo.php Update license headers 2017-11-06 16:56:19 +01:00
Filesystem.php Remove unused functions 2017-07-19 10:28:12 +02:00
View.php tokens can't be valid local user names 2018-08-27 16:25:49 +02:00