diff --git a/include/email-validation.inc b/include/email-validation.inc index 9b1ba98f2a..6e1d03c03b 100644 --- a/include/email-validation.inc +++ b/include/email-validation.inc @@ -99,6 +99,6 @@ function blacklisted($email) { 'graduatecentral', ); foreach ($mosquitoes as $m) { - if (preg_match('/'.$m.'/i',$email)) return true; + if (preg_match('/'.preg_quote($m, '/').'/i',$email)) return true; } }