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 <[email protected]>
  • Loading branch information
icewind1991 committed Oct 31, 2023
1 parent e4120e2 commit 9301120
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 9301120

Please sign in to comment.