com web/bugs: Still not learning: include/functions.php

From: Date: Mon, 20 Jul 2020 09:23:22 +0000
Subject: com web/bugs: Still not learning: include/functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-28724@lists.php.net to get a copy of this message
Commit: ceb990c913b9187cce986ed9806c15627e7d5f92 Author: Derick Rethans <github@derickrethans.nl> Mon, 20 Jul 2020 10:23:22 +0100 Parents: f27ce31a9398926894aa9fa5130686e047995711 Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=ceb990c913b9187cce986ed9806c15627e7d5f92 Log: Still not learning Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index 0cad11e..6e873da 100644 --- a/include/functions.php +++ b/include/functions.php @@ -248,7 +248,7 @@ function is_spam($string) /* Primitive check for SPAMmy user. Add more later. */ function is_spam_user($email) { - if (preg_match("/(rhsoft|reindl|phpbugreports|bugreports@gmail)/i", $email)) { + if (preg_match("/(rhsoft|reindl|phpbugreports|bugreports\d*@gmail)/i", $email)) { return true; } return false;

« previous php.webmaster (#28724) next »