verify path when getting a node for sabredav
This commit is contained in:
parent
cda9685c0e
commit
05cecb101d
1 changed files with 4 additions and 0 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue