Browse Source

The `.` character is a valid part of an email address.

Refs #3982
mark_story 11 years ago
parent
commit
4733a8eb8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Network/Email/Email.php

+ 1 - 1
src/Network/Email/Email.php

@@ -335,7 +335,7 @@ class Email {
  *
  * @var string
  */
-	protected $_emailPattern = '/^((?:[\p{L}0-9!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-.]+)$/ui';
+	protected $_emailPattern = '/^((?:[\p{L}0-9\.!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-.]+)$/ui';
 
 /**
  * The class name used for email configuration.