normalize path in getInternalPath

remotes/origin/htaccess_update
Georg Ehrke 10 years ago committed by Vincent Petry
parent 3ff2bec5fa
commit 89a10fdb2d
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
  1. 1
      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 {

Loading…
Cancel
Save