]> source.dussan.org Git - nextcloud-server.git/commitdiff
normalize path in getInternalPath
authorGeorg Ehrke <developer@georgehrke.com>
Wed, 11 May 2016 11:12:27 +0000 (13:12 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 2 Jun 2016 17:11:35 +0000 (19:11 +0200)
lib/private/Files/Mount/MountPoint.php

index a25e8c3a57d1562cd83a426847a020f3edb2628d..e11da9e5c74e07187a7d084880aea1e6212c41a1 100644 (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 {