Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4cb774c

Browse files
committedApr 16, 2013
Fix #15762: case insensitive email parsing regex
1 parent d2bc53e commit 4cb774c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/email_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function email_regex_simple() {
7676
$t_subdomain = "(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)";
7777
$t_domain = "(${t_subdomain}(?:\.${t_subdomain})*)";
7878

79-
$s_email_regex = "/${t_recipient}\@${t_domain}/";
79+
$s_email_regex = "/${t_recipient}\@${t_domain}/i";
8080
}
8181
return $s_email_regex;
8282
}

0 commit comments

Comments
 (0)
Please sign in to comment.