]> source.dussan.org Git - nextcloud-server.git/commitdiff
getJailedPath expects $path to have a trailing / - fixes #25464
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 5 Aug 2016 09:13:43 +0000 (11:13 +0200)
committerRobin Appelman <icewind@owncloud.com>
Fri, 5 Aug 2016 12:06:05 +0000 (14:06 +0200)
lib/private/Files/Cache/Wrapper/CacheJail.php

index d121ee25361a6f7da1bc917748961d17c5f3da6d..90226e5614402981318fc32ce67dd59735bd3edf 100644 (file)
@@ -290,6 +290,7 @@ class CacheJail extends CacheWrapper {
         */
        public function getPathById($id) {
                $path = $this->cache->getPathById($id);
+               $path = $this->getSourcePath($path);
                return $this->getJailedPath($path);
        }