Trying without the use

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/31758/head
Côme Chilliet 2022-03-30 16:31:54 +07:00
parent 9132ed8ef1
commit de5b7f260f
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with 1 additions and 2 deletions

@ -50,7 +50,6 @@ use OCP\IConfig;
use OCP\IRequest;
use OCP\IRequestId;
use OCP\Security\ICrypto;
use function Sabre\HTTP\decodePathSegment;
/**
* Class for accessing variables in the request.
@ -785,7 +784,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
*/
public function getPathInfo() {
$pathInfo = $this->getRawPathInfo();
return decodePathSegment($pathInfo);
return \Sabre\HTTP\decodePath($pathInfo);
}
/**