summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r--lib/filesystemview.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index faf3f0bd4cc..17d09a07001 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -54,10 +54,9 @@ class OC_FilesystemView {
if($path[0]!=='/'){
$path='/'.$path;
}
- return $this->fakeRoot.$path;
+ return OC_Filesystem::normalizePath($this->fakeRoot.$path);
}
-
-
+
/**
* change the root to a fake toor
* @param string fakeRoot