[Pkg-owncloud-commits] [owncloud] 375/457: verify path when getting a node for sabredav
David Prévot
taffit at moszumanska.debian.org
Sun Jun 28 20:06:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 4d10dab813b578697aaf856833f1aa334d0ee1a8
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Jun 11 14:12:04 2015 +0200
verify path when getting a node for sabredav
---
lib/private/connector/sabre/objecttree.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/connector/sabre/objecttree.php b/lib/private/connector/sabre/objecttree.php
index c56fd7e..b4acbfa 100644
--- a/lib/private/connector/sabre/objecttree.php
+++ b/lib/private/connector/sabre/objecttree.php
@@ -104,6 +104,8 @@ class ObjectTree extends \Sabre\DAV\Tree {
throw new \Sabre\DAV\Exception\ServiceUnavailable('filesystem not setup');
}
+ $this->fileView->verifyPath($path, basename($path));
+
$path = trim($path, '/');
if (isset($this->cache[$path])) {
return $this->cache[$path];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list