cvs: pearweb /public_html account-request-existingpackage.php account-request-newpackage.php account-request-vote.php

From: Date: Mon, 02 Mar 2009 22:36:34 +0000
Subject: cvs: pearweb /public_html account-request-existingpackage.php account-request-newpackage.php account-request-vote.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-8220@lists.php.net to get a copy of this message
dufuz Mon Mar 2 22:36:34 2009 UTC Modified files: /pearweb/public_html account-request-existingpackage.php account-request-newpackage.php account-request-vote.php Log: improve the filtering even more http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-request-existingpackage.php?r1=1.13&r2=1.14&diff_format=u Index: pearweb/public_html/account-request-existingpackage.php diff -u pearweb/public_html/account-request-existingpackage.php:1.13 pearweb/public_html/account-request-existingpackage.php:1.14 --- pearweb/public_html/account-request-existingpackage.php:1.13 Mon Mar 2 22:24:14 2009 +++ pearweb/public_html/account-request-existingpackage.php Mon Mar 2 22:36:34 2009 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-request-existingpackage.php,v 1.13 2009/03/02 22:24:14 dufuz Exp $ + $Id: account-request-existingpackage.php,v 1.14 2009/03/02 22:36:34 dufuz Exp $ */ require_once 'HTML/QuickForm.php'; @@ -150,7 +150,9 @@ } // Check about the last 30 days -if ($status && $status->suspicious && $status->getLastActivity() < 30) { +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.'; http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-request-newpackage.php?r1=1.14&r2=1.15&diff_format=u Index: pearweb/public_html/account-request-newpackage.php diff -u pearweb/public_html/account-request-newpackage.php:1.14 pearweb/public_html/account-request-newpackage.php:1.15 --- pearweb/public_html/account-request-newpackage.php:1.14 Mon Mar 2 22:24:14 2009 +++ pearweb/public_html/account-request-newpackage.php Mon Mar 2 22:36:34 2009 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-request-newpackage.php,v 1.14 2009/03/02 22:24:14 dufuz Exp $ + $Id: account-request-newpackage.php,v 1.15 2009/03/02 22:36:34 dufuz Exp $ */ require_once 'HTML/QuickForm.php'; @@ -144,7 +144,9 @@ } // Check about the last 30 days -if ($status && $status->suspicious && $status->getLastActivity() < 30) { +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.'; http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-request-vote.php?r1=1.20&r2=1.21&diff_format=u Index: pearweb/public_html/account-request-vote.php diff -u pearweb/public_html/account-request-vote.php:1.20 pearweb/public_html/account-request-vote.php:1.21 --- pearweb/public_html/account-request-vote.php:1.20 Mon Mar 2 22:24:14 2009 +++ pearweb/public_html/account-request-vote.php Mon Mar 2 22:36:34 2009 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-request-vote.php,v 1.20 2009/03/02 22:24:14 dufuz Exp $ + $Id: account-request-vote.php,v 1.21 2009/03/02 22:36:34 dufuz Exp $ */ require_once 'HTML/QuickForm.php'; @@ -127,7 +127,9 @@ } // Check about the last 30 days -if ($status && $status->suspicious && $status->getLastActivity() < 30) { +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.';

« previous php.pear.core (#8220) next »