[pLog-svn] r6883 - plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu May 7 07:50:13 EDT 2009
Author: jondaley
Date: 2009-05-07 07:50:13 -0400 (Thu, 07 May 2009)
New Revision: 6883
Modified:
plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/mozilla.inc.php
Log:
talk about fast service - the builtwith author is already working on it. I'll remove this whitelist entry, partly since he sometimes uses a different UserAgent, so this only fixes part of the problem, and partly, so he can test his software better
Modified: plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/mozilla.inc.php
===================================================================
--- plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/mozilla.inc.php 2009-05-07 11:25:46 UTC (rev 6882)
+++ plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/mozilla.inc.php 2009-05-07 11:50:13 UTC (rev 6883)
@@ -8,10 +8,7 @@
// Google Desktop fixed it, but apparently some old versions are
// still out there. :(
// Always check accept header for Mozilla user agents
- if (strpos($package['headers_mixed']['User-Agent'], "Google Desktop") === FALSE &&
- strpos($package['headers_mixed']['User-Agent'], "BuiltWith") === FALSE &&
- strpos($package['headers_mixed']['User-Agent'], "PLAYSTATION 3") === FALSE)
- {
+ if (strpos($package['headers_mixed']['User-Agent'], "Google Desktop") === FALSE && strpos($package['headers_mixed']['User-Agent'], "PLAYSTATION 3") === FALSE) {
if (!array_key_exists('Accept', $package['headers_mixed'])) {
return "17566707";
}
More information about the pLog-svn
mailing list