summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-05-16 12:30:08 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-14 10:13:24 +0200
commit21ced89beb3cdb6614597c29d0c6de304325185c (patch)
treef44179bd0c263c8750c754f238871e18c7e9d406
parenta900c7aa94ad6527cb3bdf2600b6b1e9e6b497ac (diff)
downloadnextcloud-server-21ced89beb3cdb6614597c29d0c6de304325185c.tar.gz
nextcloud-server-21ced89beb3cdb6614597c29d0c6de304325185c.zip
Dont return false for internalPath
-rw-r--r--apps/files_external/lib/webdav.php3
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);