[web-bugs] master: Try to prevent further SPAM by them

From: Date: Tue, 15 Feb 2022 11:57:40 +0000
Subject: [web-bugs] master: Try to prevent further SPAM by them
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-29913@lists.php.net to get a copy of this message
Author: Christoph M. Becker (cmb69) Date: 2022-02-15T12:56:09+01:00 Commit: https://github.com/php/web-bugs/commit/2255979dc8a5c3d74a55c543816ab2c22a024011 Raw diff: https://github.com/php/web-bugs/commit/2255979dc8a5c3d74a55c543816ab2c22a024011.diff Try to prevent further SPAM by them Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index d7d6d3b1..d9e0dc67 100644 --- a/include/functions.php +++ b/include/functions.php @@ -254,7 +254,7 @@ function is_spam($string) /* Primitive check for SPAMmy user. Add more later. */ function is_spam_user($email) { - if (preg_match("/(rhsoft|reindl|phpbugreports|bugreprtsz|bugreports\d*@gmail)/i", $email)) { + if (preg_match("/(rhsoft|reindl|phpbugreports|bugreprtsz|bugreports\d*@gmail|training365)/i", $email)) { return true; } return false;

« previous php.webmaster (#29913) next »