summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-08-05 11:13:43 +0200
committerRobin Appelman <icewind@owncloud.com>2016-08-05 14:06:05 +0200
commitd252d79059fd80e74754ef0fbbbba04fc3db2c91 (patch)
tree0249dd1aea6ca643730f29843ea457094eed475d /lib
parent84e6b8d9d05f7e481276090101ddf77f1ab3cfdf (diff)
downloadnextcloud-server-d252d79059fd80e74754ef0fbbbba04fc3db2c91.tar.gz
nextcloud-server-d252d79059fd80e74754ef0fbbbba04fc3db2c91.zip
getJailedPath expects $path to have a trailing / - fixes #25464
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheJail.php1
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);
}