normalize path in getInternalPath

This commit is contained in:
Georg Ehrke 2016-05-11 13:12:27 +02:00 committed by Vincent Petry
parent 3ff2bec5fa
commit 89a10fdb2d
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 1 additions and 0 deletions

View File

@ -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 {