[pLog-svn] r6882 - plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu May 7 07:25:46 EDT 2009
Author: jondaley
Date: 2009-05-07 07:25:46 -0400 (Thu, 07 May 2009)
New Revision: 6882
Modified:
plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/mozilla.inc.php
Log:
BuiltWith.com has a bug. I've informed them about it, hopefully they'll fix it right away
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-04 23:14:47 UTC (rev 6881)
+++ plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/mozilla.inc.php 2009-05-07 11:25:46 UTC (rev 6882)
@@ -8,7 +8,10 @@
// 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'], "PLAYSTATION 3") === FALSE) {
+ 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 (!array_key_exists('Accept', $package['headers_mixed'])) {
return "17566707";
}
More information about the pLog-svn
mailing list