From 69efb44368331bbbf9a272201248a663353f1cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Noack?= Date: Tue, 21 Jan 2025 15:55:11 +0000 Subject: Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Marcus Eibrink-Lunzenauer --- public/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/plugins.php b/public/plugins.php index c512dbf..9f30028 100644 --- a/public/plugins.php +++ b/public/plugins.php @@ -53,7 +53,7 @@ $plugin_dispatch = function (ServerRequestInterface $request, RequestHandlerInte PageLayout::setTitle($plugin->getPluginName()); $still_not_consumed = $plugin->registerSlimRoutes($unconsumed, $app); if ($still_not_consumed !== false) { - $app->any(Request::pathInfo(), $plugin->getRouteCallable($still_not_consumed)); + $app->any('{path_info:.*}', $plugin->getRouteCallable($still_not_consumed)); } } catch (AccessDeniedException $ade) { $_SESSION['redirect_after_login'] = Request::url(); -- cgit v1.0