From 0bea90a5a26593521f140f1b96495e41a857ace3 Mon Sep 17 00:00:00 2001 From: Ionut-Mihai Burlacu Date: Thu, 21 Sep 2017 14:30:51 +0300 Subject: [PATCH] Fixes --- lib/Cake/Network/Email/CakeEmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php index 5946e31af..bb4b47f65 100644 --- a/lib/Cake/Network/Email/CakeEmail.php +++ b/lib/Cake/Network/Email/CakeEmail.php @@ -70,7 +70,7 @@ class CakeEmail { * * @var string */ - const EMAIL_PATTERN = '/^((?:[\p{L}0-9.!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-.]+)$/ui'; + const EMAIL_PATTERN = '/^((?:[\p{L}0-9.!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-_.]+)$/ui'; /** * Recipient of the email