From d252d79059fd80e74754ef0fbbbba04fc3db2c91 Mon Sep 17 00:00:00 2001
From: Thomas Müller <thomas.mueller@tmit.eu>
Date: Fri, 5 Aug 2016 11:13:43 +0200
Subject: getJailedPath expects $path to have a trailing / - fixes #25464

---
 lib/private/Files/Cache/Wrapper/CacheJail.php | 1 +
 1 file changed, 1 insertion(+)

(limited to 'lib')

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);
 	}
 
-- 
cgit v1.2.3