getJailedPath expects $path to have a trailing / - fixes #25464

This commit is contained in:
Thomas Müller 2016-08-05 11:13:43 +02:00 committed by Robin Appelman
parent 84e6b8d9d0
commit d252d79059
1 changed files with 1 additions and 0 deletions

View 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);
}