Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-23 10:32:40 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-23 10:32:40 +0400
commit41f2457d85e7eaca6fb874d78f202998534faf77 (patch)
tree93276fc37c1cb76e23215ef4996747d58a65f765 /core/Piwik.php
parentb4ae770f099b762b04bb7b3d0c404e4476887e38 (diff)
fixes #5867 remove upper limit completely
Diffstat (limited to 'core/Piwik.php')
-rw-r--r--core/Piwik.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Piwik.php b/core/Piwik.php
index 6cd67ce589..c3be1d7c19 100644
--- a/core/Piwik.php
+++ b/core/Piwik.php
@@ -657,7 +657,7 @@ class Piwik
*/
public static function isValidEmailString($emailAddress)
{
- return (preg_match('/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9_.-]+\.[a-zA-Z]{2,15}$/D', $emailAddress) > 0);
+ return (preg_match('/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9_.-]+\.[a-zA-Z]{2,}$/D', $emailAddress) > 0);
}
/**