cvs: php-bugs-web / bug.php
| From: | Philip Olson | Date: | Tue, 20 Jul 2004 16:06:54 +0000 |
| Subject: | cvs: php-bugs-web / bug.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25453@lists.php.net to get a copy of this message | ||
philip Tue Jul 20 12:06:54 2004 EDT
Modified files:
/php-bugs-web bug.php
Log:
Temporary fix to da.ru spamming.
http://cvs.php.net/diff.php/php-bugs-web/bug.php?r1=1.64&r2=1.65&ty=u
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.64 php-bugs-web/bug.php:1.65
--- php-bugs-web/bug.php:1.64 Wed Jun 16 09:19:57 2004
+++ php-bugs-web/bug.php Tue Jul 20 12:06:53 2004
@@ -72,6 +72,11 @@
header("Location: $PHP_SELF?id=$id&edit=2");
exit();
}
+
+ # Temporary, da.ru is spamming the bugs system right now
+ if (false !== strpos($ncomment, 'da.ru')) {
+ $errors[] = "Go away.";
+ }
# check that they aren't using a php.net mail address without
# being authenticated (oh, the horror!)