Skip to content

Commit

Permalink
revert some for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Oct 30, 2023
1 parent 1cfd8f7 commit 662ae14
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/private/Files/Storage/Wrapper/Jail.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ public function __construct($arguments) {
}

public function getUnjailedPath($path) {
if ($this->rootPath === '') {
return $path;
} else {
return $this->rootPath . '/' . trim($path, '/');
}
return trim(Filesystem::normalizePath($this->rootPath . '/' . $path), '/');
}

/**
Expand Down

0 comments on commit 662ae14

Please sign in to comment.