Fix cache jail to not duplicate slashes

remotes/origin/fix-10825
Vincent Petry 10 years ago
parent aa821ecc00
commit 888ce4d4f9
  1. 2
      lib/private/files/cache/wrapper/cachejail.php

@ -30,7 +30,7 @@ class CacheJail extends CacheWrapper {
if ($path === '') {
return $this->root;
} else {
return $this->root . '/' . $path;
return $this->root . '/' . ltrim($path, '/');
}
}

Loading…
Cancel
Save