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 Bjoern Schiessle
parent 0475315dd4
commit 0253300e2a
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
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);
}