diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-30 16:31:54 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-04-26 11:10:00 +0200 |
commit | de5b7f260f0f149ec9399cfbe651fcf3d382c871 (patch) | |
tree | 68b344dd6bfd13728fd222f0e5179b6e48a62b04 /lib/private/AppFramework/Http/Request.php | |
parent | 9132ed8ef1dcc42c67cf5d0fa299d45606a1dfaa (diff) | |
download | nextcloud-server-de5b7f260f0f149ec9399cfbe651fcf3d382c871.tar.gz nextcloud-server-de5b7f260f0f149ec9399cfbe651fcf3d382c871.zip |
Trying without the use
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/AppFramework/Http/Request.php')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 3 |
1 files changed, 1 insertions, 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); } /** |