From de5b7f260f0f149ec9399cfbe651fcf3d382c871 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Wed, 30 Mar 2022 16:31:54 +0200 Subject: [PATCH] Trying without the use MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/AppFramework/Http/Request.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 4079aa0595b..010d889070e 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -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); } /** -- 2.39.5