From 376bb981aed9fc230e65eba59cd16a0d3359fb83 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 17 Feb 2023 13:35:05 +0100 Subject: [PATCH] string is also spaces, lets admin that --- system/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/router.php b/system/router.php index 60d5268a..374a53e6 100644 --- a/system/router.php +++ b/system/router.php @@ -118,7 +118,7 @@ $dispatcher = FastRoute\cachedDispatcher(function (FastRoute\RouteCollector $r) $aliases = [ [':int', ':string', ':alphanum'], - [':\d+', ':[A-Za-z0-9-_%+\']+', ':[A-Za-z0-9]+'], + [':\d+', ':[A-Za-z0-9-_%+\' ]+', ':[A-Za-z0-9]+'], ]; // apply aliases