[Pkg-owncloud-commits] [owncloud] 110/223: Dont return false for internalPath

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 21ced89beb3cdb6614597c29d0c6de304325185c
Author: Robin Appelman <icewind at owncloud.com>
Date:   Fri May 16 12:30:08 2014 +0200

    Dont return false for internalPath
---
 apps/files_external/lib/webdav.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 3614b05..948a462 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -355,6 +355,9 @@ class DAV extends \OC\Files\Storage\Common {
 	 * @param string $path
 	 */
 	public function cleanPath($path) {
+		if ($path === ""){
+			return $path;
+		}
 		$path = \OC\Files\Filesystem::normalizePath($path);
 		// remove leading slash
 		return substr($path, 1);

-- 
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