diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-08-05 11:13:43 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-08-05 14:06:05 +0200 |
commit | d252d79059fd80e74754ef0fbbbba04fc3db2c91 (patch) | |
tree | 0249dd1aea6ca643730f29843ea457094eed475d /lib/private/Files | |
parent | 84e6b8d9d05f7e481276090101ddf77f1ab3cfdf (diff) | |
download | nextcloud-server-d252d79059fd80e74754ef0fbbbba04fc3db2c91.tar.gz nextcloud-server-d252d79059fd80e74754ef0fbbbba04fc3db2c91.zip |
getJailedPath expects $path to have a trailing / - fixes #25464
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |