cvs: pearweb /public_html/bugs report.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Mon, 02 Mar 2009 22:36:32 +0000 |
| Subject: | cvs: pearweb /public_html/bugs report.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8219@lists.php.net to get a copy of this message | ||
dufuz Mon Mar 2 22:36:32 2009 UTC
Modified files:
/pearweb/public_html/bugs report.php
Log:
improve the filtering even more
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/report.php?r1=1.133&r2=1.134&diff_format=u
Index: pearweb/public_html/bugs/report.php
diff -u pearweb/public_html/bugs/report.php:1.133 pearweb/public_html/bugs/report.php:1.134
--- pearweb/public_html/bugs/report.php:1.133 Mon Mar 2 22:24:10 2009
+++ pearweb/public_html/bugs/report.php Mon Mar 2 22:36:31 2009
@@ -17,7 +17,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: report.php,v 1.133 2009/03/02 22:24:10 dufuz Exp $
+ * @version $Id: report.php,v 1.134 2009/03/02 22:36:31 dufuz Exp $
*/
// Obtain common includes
@@ -458,7 +458,9 @@
}
// Check about the last 30 days
- if ($status && $status->suspicious && $status->getLastActivity() < 90)
{
+ if ($status && $status->getLastActivity() < 30
+ && ($status->suspicious || $status->isCommentSpammer() ||
$status->isHarvester() || $status->isSearchEngine())
+ ) {
$errors = 'We can not allow you to continue since your IP has been marked suspicious
within the past 30 days
by the http://projecthoneypot.org/, if
that was done in error then please contact ' .
PEAR_DEV_EMAIL . ' as well as the projecthoneypot people to resolve the
issue.';