diff --git a/system/routes.php b/system/routes.php index 13cee37f..c804ec8c 100644 --- a/system/routes.php +++ b/system/routes.php @@ -22,7 +22,7 @@ return [ ['GET', 'account/confirm-email/{hash:alphanum}', 'account/confirm-email.php'], ['GET', 'bans/{page:int}', 'bans.php'], - [['GET', 'POST'], 'characters[/{name:string}]', 'characters.php'], + [['GET', 'POST'], 'characters[/{name:[A-Za-z0-9-_%+\' \[\]]+}]', 'characters.php'], ['GET', 'changelog[/{page:int}]', 'changelog.php'], [['GET', 'POST'], 'monsters[/{name:string}]', 'monsters.php'],