Skip to content

Commit

Permalink
Trying without the use
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Mar 30, 2022
1 parent 56eff12 commit bbcc318
Showing 1 changed file with 1 addition and 2 deletions.
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

0 comments on commit bbcc318

Please sign in to comment.