com web/php: More mosquitoes to be swatted.: include/email-validation.inc
| From: | Daniel P . Brown | Date: | Fri, 13 May 2016 15:38:49 +0000 |
| Subject: | com web/php: More mosquitoes to be swatted.: include/email-validation.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-24751@lists.php.net to get a copy of this message | ||
Commit: ed25fb4de8bafbfc2b7818335ea8b8b95cd2c3b3
Author: danbrown <danbrown@php.net> Fri, 13 May 2016 11:38:49 -0400
Parents: 349372ebcf5415989220ad63785a8e4f4fb2a2aa
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ed25fb4de8bafbfc2b7818335ea8b8b95cd2c3b3
Log:
More mosquitoes to be swatted.
Changed paths:
M include/email-validation.inc
Diff:
diff --git a/include/email-validation.inc b/include/email-validation.inc
index 6e1d03c..6b67097 100644
--- a/include/email-validation.inc
+++ b/include/email-validation.inc
@@ -97,6 +97,9 @@ function blacklisted($email) {
'europsychiatrysummit',
'antibodies',
'graduatecentral',
+ 'a@a..com',
+ '@insightconferences.com',
+ '@conferenceseries.com',
);
foreach ($mosquitoes as $m) {
if (preg_match('/'.preg_quote($m, '/').'/i',$email)) return
true;