diff --git a/classes/Validate.php b/classes/Validate.php index be2067e79..2e5978c6e 100644 --- a/classes/Validate.php +++ b/classes/Validate.php @@ -45,7 +45,7 @@ class ValidateCore */ public static function isEmail($email) { - return !empty($email) && preg_match('/^[a-z0-9!#$%&\'*+\/=?^`{}|~_-]+[.a-z0-9!#$%&\'*+\/=?^`{}|~_-]*@[a-z0-9]+[._a-z0-9-]*\.[a-z0-9]+$/ui', $email); + return !empty($email) && preg_match('/^[a-z\p{L}0-9!#$%&\'*+\/=?^`{}|~_-]+[.a-z\p{L}0-9!#$%&\'*+\/=?^`{}|~_-]*@[a-z\p{L}0-9]+[._a-z\p{L}0-9-]*\.[a-z0-9]+$/ui', $email); } /** diff --git a/themes/default/history.tpl b/themes/default/history.tpl index a913e4d13..d93535f91 100644 --- a/themes/default/history.tpl +++ b/themes/default/history.tpl @@ -60,8 +60,8 @@