aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Mount/MountPoint.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Mount/MountPoint.php')
-rw-r--r--lib/private/Files/Mount/MountPoint.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Mount/MountPoint.php b/lib/private/Files/Mount/MountPoint.php
index fe6358b32f1..10711154f14 100644
--- a/lib/private/Files/Mount/MountPoint.php
+++ b/lib/private/Files/Mount/MountPoint.php
@@ -246,7 +246,7 @@ class MountPoint implements IMountPoint {
* @return string
*/
private function formatPath($path) {
- $path = Filesystem::normalizePath($path);
+ $path = '/' . trim($path, '/');
if (strlen($path) > 1) {
$path .= '/';
}