verify path when getting a node for sabredav

This commit is contained in:
Robin Appelman 2015-06-11 17:10:11 +02:00
parent cda9685c0e
commit 05cecb101d

View file

@ -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];
}