]> source.dussan.org Git - nextcloud-server.git/commitdiff
Trying without the use
authorCôme Chilliet <come.chilliet@nextcloud.com>
Wed, 30 Mar 2022 14:31:54 +0000 (16:31 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 26 Apr 2022 09:10:00 +0000 (11:10 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
lib/private/AppFramework/Http/Request.php

index 4079aa0595bb64f2a3d44e1a9072b3c3a51b043c..010d889070e19646f5f9e8d48bdab43af7c89ca5 100644 (file)
@@ -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);
        }
 
        /**