Skip to content

Commit 65c9041

Browse files
committed
URL Decode paths
1 parent 7f0d8d0 commit 65c9041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dispatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function getComponentAliases()
206206
*/
207207
public function handleRequest(Request $request): Response
208208
{
209-
$path = substr($request->getPathInfo(), strlen(Request::create($this->_baseUri)->getPathInfo()));
209+
$path = urldecode(substr($request->getPathInfo(), strlen(Request::create($this->_baseUri)->getPathInfo())));
210210
$pathParts = array_filter(explode('/', $path));
211211
$type = array_shift($pathParts);
212212
switch($type)

0 commit comments

Comments
 (0)