This is an automated email from the git hooks/post-receive script. s k u n n y k p u s h e d a c o m m i t t o b r a n c h o l d f o r u m in repository www/forum.xfce.org.
commit 9d24caedae68a8a988161610896cd0fa364cd2e8 Author: Nick Schermer <n...@xfce.org> Date: Tue Nov 25 17:27:31 2014 +0100 Update bb2 to 2.2.16. --- include/bad-behavior/common_tests.inc.php | 3 ++- include/bad-behavior/core.inc.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/bad-behavior/common_tests.inc.php b/include/bad-behavior/common_tests.inc.php index 3fb1d37..509c38b 100644 --- a/include/bad-behavior/common_tests.inc.php +++ b/include/bad-behavior/common_tests.inc.php @@ -73,7 +73,8 @@ function bb2_misc_headers($settings, $package) // Lowercase via is used by open proxies/referrer spammers // Exceptions: Clearswift uses lowercase via (refuses to fix; // may be blocked again in the future) - if (array_key_exists('via', $package['headers']) && + if ($settings['strict'] && + array_key_exists('via', $package['headers']) && strpos($package['headers']['via'],'Clearswift') === FALSE && strpos($ua,'CoralWebPrx') === FALSE) { return "9c9e4979"; diff --git a/include/bad-behavior/core.inc.php b/include/bad-behavior/core.inc.php index c826acf..324454f 100644 --- a/include/bad-behavior/core.inc.php +++ b/include/bad-behavior/core.inc.php @@ -1,5 +1,5 @@ <?php if (!defined('BB2_CWD')) die("I said no cheating!"); -define('BB2_VERSION', "2.2.15"); +define('BB2_VERSION', "2.2.16"); // Bad Behavior entry point is bb2_start() // If you're reading this, you are probably lost. -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits