From cc6d5faed0853685727520c2ac74cf9f8eee79b5 Mon Sep 17 00:00:00 2001 From: Midah Pasche Date: Fri, 21 Feb 2025 11:44:08 +0100 Subject: [PATCH] fix small issue with AppFinder path matching --- src/Middleware/AppFinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middleware/AppFinder.php b/src/Middleware/AppFinder.php index 5fdada1e..b708ca6b 100644 --- a/src/Middleware/AppFinder.php +++ b/src/Middleware/AppFinder.php @@ -96,7 +96,7 @@ protected function identifyApp(ServerRequestInterface $request, Horde_Registry $ $matches = []; $scheme = $request->getUri()->getScheme(); $host = $request->getUri()->getHost(); - $path = $request->getUri()->getPath(); + $path = $this->_normalize($request->getUri()->getPath()); // listApps() would return empty on unauthenticated access foreach ($registry->listApps(null, true, null) as $app => $config) { $default = [