com web/bugs: Oh please do fork off: include/functions.php
| From: | Derick Rethans | Date: | Wed, 05 Aug 2020 16:55:31 +0000 |
| Subject: | com web/bugs: Oh please do fork off: include/functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28733@lists.php.net to get a copy of this message | ||
Commit: a7c206cc24968080c21e626e176745f8265646b2
Author: Derick Rethans <github@derickrethans.nl> Wed, 5 Aug 2020 17:55:31 +0100
Parents: ceb990c913b9187cce986ed9806c15627e7d5f92
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=a7c206cc24968080c21e626e176745f8265646b2
Log:
Oh please do fork off
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index 6e873da..c61900e 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\d*@gmail)/i", $email)) {
+ if (preg_match("/(rhsoft|reindl|phpbugreports|bugreprtsz|bugreports\d*@gmail)/i",
$email)) {
return true;
}
return false;