mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Raised Long PHP line Limit
Previous limit of 750 chars enclosed in php tags in a single line was too low... false positives were being triggered by a w3 total cache file because some guy decided to print one gigantic long message in a single line. Raising to 1100
This commit is contained in:
@@ -32,4 +32,4 @@ chr\s*\(\s*['"]?\s*((95)|(0[Xx]5[Ff]))\s*['"]?\s*\)
|
||||
|
||||
#Detects long single lines contained within PHP tags.
|
||||
#We can increase from 750 later if we need to.
|
||||
^.*<\?php.{750,}\?>.*$
|
||||
^.*<\?php.{1100,}\?>.*$
|
||||
|
||||
Reference in New Issue
Block a user