summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2016-05-11 13:12:27 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-02 19:11:35 +0200
commit89a10fdb2d32f8cf948a38367753ef490bef3fa8 (patch)
tree9c9f43c0fee46571207997362c74987bf8412f07 /lib
parent3ff2bec5faaeddf47e95b4e4b395be7c709649b1 (diff)
downloadnextcloud-server-89a10fdb2d32f8cf948a38367753ef490bef3fa8.tar.gz
nextcloud-server-89a10fdb2d32f8cf948a38367753ef490bef3fa8.zip
normalize path in getInternalPath
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Mount/MountPoint.php1
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 {