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:
nichogenius
2017-08-16 00:26:16 -06:00
committed by GitHub
parent 62e25eb5f8
commit 0a1830cafb

View File

@@ -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,}\?>.*$