From: Thomas Müller Date: Fri, 5 Aug 2016 09:13:43 +0000 (+0200) Subject: getJailedPath expects $path to have a trailing / - fixes #25464 X-Git-Tag: v11.0RC2~868^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d252d79059fd80e74754ef0fbbbba04fc3db2c91;p=nextcloud-server.git getJailedPath expects $path to have a trailing / - fixes #25464 --- diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index d121ee25361..90226e56144 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -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); }