[Xfce4-commits] [www/forum.xfce.org] 01/01: Update bb2 to 2.2.16.

noreply at xfce.org noreply at xfce.org
Tue Nov 25 17:27:57 CET 2014


This is an automated email from the git hooks/post-receive script.

nick pushed a commit to branch master
in repository www/forum.xfce.org.

commit 9d24caedae68a8a988161610896cd0fa364cd2e8
Author: Nick Schermer <nick at 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.


More information about the Xfce4-commits mailing list