diff --git a/app/inc/constants.php.template b/app/inc/constants.php.template index d8faf3475fbeecd06b99bcab05ac44d8912f261d..114203be307a5a3b509347068bd771bd1239ae81 100644 --- a/app/inc/constants.php.template +++ b/app/inc/constants.php.template @@ -58,7 +58,7 @@ $ALLOWED_LANGUAGES = [ // Regex const POLL_REGEX = '/^[a-z0-9]+$/'; const CHOICE_REGEX = '/^[012]$/'; -const NAME_REGEX = '/^[ a-z0-9_ -]+$/i'; +const NAME_REGEX = '/(*UTF8)^[[:alnum:]_ -]+$/i'; // Path to logo const LOGOBANDEAU = '<relative path to the logo file>';