Compare commits

...

1 Commits

Author SHA1 Message Date
Robin Appelman 8e2e21b190 fix: don't return cache entries with null paths
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-03-02 18:32:50 +01:00
@@ -92,7 +92,12 @@ class CacheJail extends CacheWrapper {
protected function formatCacheEntry($entry) {
if (isset($entry['path'])) {
$entry['path'] = $this->getJailedPath($entry['path']);
$jailedPath = $this->getJailedPath($entry['path']);
if ($jailedPath !== null) {
$entry['path'] = $jailedPath;
} else {
return false;
}
}
return $entry;
}