diff --git a/lib/private/files/mount/mountpoint.php b/lib/private/files/mount/mountpoint.php index b606c625cb..58d8288c7b 100644 --- a/lib/private/files/mount/mountpoint.php +++ b/lib/private/files/mount/mountpoint.php @@ -188,6 +188,7 @@ class MountPoint implements IMountPoint { * @return string */ public function getInternalPath($path) { + $path = Filesystem::normalizePath($path); if ($this->mountPoint === $path or $this->mountPoint . '/' === $path) { $internalPath = ''; } else {