Fix router path matching with a valid URI object.
This commit is contained in:
parent
3524f2618c
commit
9964d87e1e
1 changed files with 1 additions and 1 deletions
|
@ -74,6 +74,6 @@ abstract class Routes
|
||||||
*/
|
*/
|
||||||
public function match(ServerRequestInterface $request): RouteMatch
|
public function match(ServerRequestInterface $request): RouteMatch
|
||||||
{
|
{
|
||||||
return $this->tree->match($this->splitUri($request->getUri()), $request);
|
return $this->tree->match($this->splitUri($request->getUri()->getPath()), $request);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue