Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #15762: case insensitive email parsing regex

  • Loading branch information...
commit 5e2795c1356f29323a8f6595be5963c115915543 1 parent 5719c35
@dregad dregad authored dregad committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/email_api.php
View
2  core/email_api.php
@@ -85,7 +85,7 @@ function email_regex_simple() {
$t_subdomain = "(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)";
$t_domain = "(${t_subdomain}(?:\.${t_subdomain})*)";
- $s_email_regex = "/${t_recipient}\@${t_domain}/";
+ $s_email_regex = "/${t_recipient}\@${t_domain}/i";
}
return $s_email_regex;
}
Please sign in to comment.
Something went wrong with that request. Please try again.