diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-16 12:30:08 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:13:24 +0200 |
commit | 21ced89beb3cdb6614597c29d0c6de304325185c (patch) | |
tree | f44179bd0c263c8750c754f238871e18c7e9d406 | |
parent | a900c7aa94ad6527cb3bdf2600b6b1e9e6b497ac (diff) | |
download | nextcloud-server-21ced89beb3cdb6614597c29d0c6de304325185c.tar.gz nextcloud-server-21ced89beb3cdb6614597c29d0c6de304325185c.zip |
Dont return false for internalPath
-rw-r--r-- | apps/files_external/lib/webdav.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php index 3614b05e979..948a462074a 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); |