diff --git a/system/router.php b/system/router.php index 516c4286..1102ef0e 100644 --- a/system/router.php +++ b/system/router.php @@ -131,7 +131,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]+'], ]; // remove duplicates