diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-03 10:50:18 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-03 10:50:18 +0200 |
commit | eb6ae84ceebbed2a8f1f1cf5330db07785b2c371 (patch) | |
tree | 2566a2b0bf6f52d66b0456a82bf19096fe8822df /lib | |
parent | 63132483ca2075d4a984f435e272badf3cab41c3 (diff) | |
parent | 89a10fdb2d32f8cf948a38367753ef490bef3fa8 (diff) | |
download | nextcloud-server-eb6ae84ceebbed2a8f1f1cf5330db07785b2c371.tar.gz nextcloud-server-eb6ae84ceebbed2a8f1f1cf5330db07785b2c371.zip |
Merge pull request #24564 from owncloud/fix_21173_take_2
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 { |