trim slashes
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
7512dc2b34
commit
2879472f81
|
@ -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), '/');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue