Dont return false for internalPath
This commit is contained in:
parent
a900c7aa94
commit
21ced89beb
|
@ -355,6 +355,9 @@ class DAV extends \OC\Files\Storage\Common {
|
||||||
* @param string $path
|
* @param string $path
|
||||||
*/
|
*/
|
||||||
public function cleanPath($path) {
|
public function cleanPath($path) {
|
||||||
|
if ($path === ""){
|
||||||
|
return $path;
|
||||||
|
}
|
||||||
$path = \OC\Files\Filesystem::normalizePath($path);
|
$path = \OC\Files\Filesystem::normalizePath($path);
|
||||||
// remove leading slash
|
// remove leading slash
|
||||||
return substr($path, 1);
|
return substr($path, 1);
|
||||||
|
|
Loading…
Reference in New Issue