string is also spaces, lets admin that

This commit is contained in:
slawkens 2023-02-17 13:35:05 +01:00
parent ed9d78d2f3
commit 376bb981ae

View File

@ -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