summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-02 15:30:47 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-02 15:30:47 +0200
commit4eb87be488f7efe6c57cfbd9392f560279fcd222 (patch)
tree373699c2382d9dd6bd44d79ed0d6f46a9483d82b /lib
parentafe8ee0674765432b7da007bffa7d3a514dcd848 (diff)
parenta08c9b352638b0d1a6eed320e7dec352b393be2b (diff)
downloadnextcloud-server-4eb87be488f7efe6c57cfbd9392f560279fcd222.tar.gz
nextcloud-server-4eb87be488f7efe6c57cfbd9392f560279fcd222.zip
Merge pull request #24944 from owncloud/fix_21173_stable9
stable9: 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 b606c625cb1..58d8288c7b4 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 {