From 875b9ece501de5937993c41a83c44f8ea59897d0 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 10 Apr 2026 22:38:59 +0200 Subject: register and login to Cinny client --- src/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Router.php') 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]; -- cgit v1.2.3