diff options
author | Georg Ehrke <developer@georgehrke.com> | 2016-05-11 13:12:27 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-02 19:11:35 +0200 |
commit | 89a10fdb2d32f8cf948a38367753ef490bef3fa8 (patch) | |
tree | 9c9f43c0fee46571207997362c74987bf8412f07 /lib | |
parent | 3ff2bec5faaeddf47e95b4e4b395be7c709649b1 (diff) | |
download | nextcloud-server-89a10fdb2d32f8cf948a38367753ef490bef3fa8.tar.gz nextcloud-server-89a10fdb2d32f8cf948a38367753ef490bef3fa8.zip |
normalize path in getInternalPath
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Mount/MountPoint.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/Mount/MountPoint.php b/lib/private/Files/Mount/MountPoint.php index a25e8c3a57d..e11da9e5c74 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, true, false, true); if ($this->mountPoint === $path or $this->mountPoint . '/' === $path) { $internalPath = ''; } else { |