From 0a1830cafbf9adfe40f30351be8229a97c713de0 Mon Sep 17 00:00:00 2001 From: nichogenius Date: Wed, 16 Aug 2017 00:26:16 -0600 Subject: [PATCH] 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 --- patterns_re.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patterns_re.txt b/patterns_re.txt index 727881e..3737561 100644 --- a/patterns_re.txt +++ b/patterns_re.txt @@ -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,}\?>.*$