diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-02 15:30:47 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-02 15:30:47 +0200 |
commit | 4eb87be488f7efe6c57cfbd9392f560279fcd222 (patch) | |
tree | 373699c2382d9dd6bd44d79ed0d6f46a9483d82b /lib | |
parent | afe8ee0674765432b7da007bffa7d3a514dcd848 (diff) | |
parent | a08c9b352638b0d1a6eed320e7dec352b393be2b (diff) | |
download | nextcloud-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.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 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 { |