-
Notifications
You must be signed in to change notification settings - Fork 454
Open
Description
I have a dispatcher like this:
\FastRoute\simpleDispatcher(function (\FastRoute\RouteCollector $r): void {
$r->addRoute('GET', '/license/{package}', $this->licenseHandler);
});When I visit a URL that looks like this:
/license/clue%2Fndjson-react
I'd expect to receive clue/ndjson-react in $vars['package'] here:
$routeInfo = $this->getDispatcher()->dispatch($request->getMethod(), $request->getUri()->getPath());
$vars = $routeInfo[2];But instead I receive /license/clue%2Fndjson-react, leaving the unescaping to the handler.
gl-andrey-shevchenko
Metadata
Metadata
Assignees
Labels
No labels