trim slashes

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2020-08-28 11:14:50 +02:00
parent 7512dc2b34
commit 2879472f81
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Jail extends Wrapper {
}
public function getUnjailedPath($path) {
return Filesystem::normalizePath($this->rootPath . '/' . $path);
return trim(Filesystem::normalizePath($this->rootPath . '/' . $path), '/');
}
/**