Skip to content
Browse files

Fix #15762: case insensitive email parsing regex

  • Loading branch information...
1 parent 5719c35 commit 5e2795c1356f29323a8f6595be5963c115915543 @dregad dregad committed with dregad
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;
}

0 comments on commit 5e2795c

Please sign in to comment.
Something went wrong with that request. Please try again.