summaryrefslogtreecommitdiff
path: root/src/Router.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2026-04-10 22:38:59 +0200
committerDaniel Weipert <git@mail.dweipert.de>2026-04-10 22:38:59 +0200
commit875b9ece501de5937993c41a83c44f8ea59897d0 (patch)
tree04579bcb80c9fdb43502d178b3ee145a818afe28 /src/Router.php
parent74a524ded12c6527745957ac219e1ca34828aa6c (diff)
register and login to Cinny client
Diffstat (limited to 'src/Router.php')
-rw-r--r--src/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Router.php b/src/Router.php
index cda3006..ab0c37c 100644
--- a/src/Router.php
+++ b/src/Router.php
@@ -64,7 +64,7 @@ class Router
try {
$matcher = new UrlMatcher($this->routes, $context);
- $match = $matcher->matchRequest($request);
+ $match = $matcher->match(rtrim($request->getPathInfo(), "/"));
$class = $match["_controller"][0];
$method = $match["_controller"][1];