summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/objecttree.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/connector/sabre/objecttree.php b/lib/private/connector/sabre/objecttree.php
index c56fd7ee4db..a73c9a860b0 100644
--- a/lib/private/connector/sabre/objecttree.php
+++ b/lib/private/connector/sabre/objecttree.php
@@ -105,6 +105,10 @@ class ObjectTree extends \Sabre\DAV\Tree {
}
$path = trim($path, '/');
+ if ($path) {
+ $this->fileView->verifyPath($path, basename($path));
+ }
+
if (isset($this->cache[$path])) {
return $this->cache[$path];
}