server/lib/private/Files
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
..
AppData Make Appdata static 2018-05-14 13:25:54 +02:00
Cache Properly search the root of a shared external storage 2018-11-05 16:27:43 +01:00
Config more efficient way to detect added and removed mounts 2018-08-16 19:56:49 +02:00
Mount cache OC\Files\Mount\Manager::findIn results 2018-08-16 19:02:00 +02:00
Node Add getExtension() to FileInfo 2018-10-29 15:24:02 +01:00
Notify Add a more powerful notify mechanism 2017-01-27 10:44:33 +01:00
ObjectStore extend storage api to allow directly writing a stream to storage 2018-10-31 21:10:44 +01:00
Search Update license headers 2017-11-06 16:56:19 +01:00
SimpleFS Separate fopen into read and write methods 2018-07-11 12:08:37 +02:00
Storage fix writeStream for jail wrapper 2018-10-31 21:10:57 +01:00
Stream extend storage api to allow directly writing a stream to storage 2018-10-31 21:10:44 +01:00
Type use insertIfNotExists to store new mimetypes. 2018-08-09 15:20:55 +02:00
Utils Do scan the root storage in background scan 2018-07-24 14:15:27 +02:00
FileInfo.php Add getExtension() to FileInfo 2018-10-29 15:24:02 +01:00
Filesystem.php expose storagefactory in server container 2018-10-17 14:57:30 +02:00
View.php tokens can't be valid local user names 2018-08-16 21:27:57 +02:00