Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trying without the use
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Apr 26, 2022
commit de5b7f260f0f149ec9399cfbe651fcf3d382c871
3 changes: 1 addition & 2 deletions lib/private/AppFramework/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
use OCP\IRequest;
use OCP\IRequestId;
use OCP\Security\ICrypto;
use function Sabre\HTTP\decodePathSegment;

/**
* Class for accessing variables in the request.
Expand Down Expand Up @@ -785,7 +784,7 @@ public function getRawPathInfo(): string {
*/
public function getPathInfo() {
$pathInfo = $this->getRawPathInfo();
return decodePathSegment($pathInfo);
return \Sabre\HTTP\decodePath($pathInfo);
}

/**
Expand Down