normalize path in getInternalPath

remotes/origin/htaccess_update
Georg Ehrke 2016-05-11 13:12:27 +07: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

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