[pLog-svn] r5162 - plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior

mark at devel.lifetype.net mark at devel.lifetype.net
Fri Mar 23 01:39:09 EDT 2007


Author: mark
Date: 2007-03-23 01:39:09 -0400 (Fri, 23 Mar 2007)
New Revision: 5162

Modified:
   plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/common_tests.inc.php
Log:
It will remove a php error notice if user use E_ALL in error_reporting_level.

Modified: plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/common_tests.inc.php
===================================================================
--- plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/common_tests.inc.php	2007-03-23 04:26:46 UTC (rev 5161)
+++ plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/common_tests.inc.php	2007-03-23 05:39:09 UTC (rev 5162)
@@ -28,8 +28,7 @@
 		return "f9f2b8b9";
 	}
 
-	// Broken spambots send URLs with various invalid characters
-	if (strpos($package['request_uri'], "#") !== FALSE || strpos($package['headers_mixed']['Referer'], "#") !== FALSE) {
+	if (strpos($package['request_uri'], "#") !== FALSE || @strpos($package['headers_mixed']['Referer'], "#") !== FALSE) {
 		return "dfd9b1ad";
 	}
 



More information about the pLog-svn mailing list