From 1c8f04ece24687c5437b8aa2f8cb14108ce6b094 Mon Sep 17 00:00:00 2001 From: Guillaume Blanchard Date: Fri, 13 Aug 2004 14:15:21 +0000 Subject: [PATCH] MAX_INCLUDE_REPEAT 5 => 20 Fix non-breaking space before ';' --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 7aac8e7bf8..b8f3ccecc1 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -30,7 +30,7 @@ # of inclusions of any given page, thus bringing any attack back to O(N). # -define( "MAX_INCLUDE_REPEAT", 5 ); +define( "MAX_INCLUDE_REPEAT", 20 ); define( "MAX_INCLUDE_SIZE", 1000000 ); // 1 Million # Allowed values for $mOutputType @@ -143,7 +143,7 @@ class Parser } else { $fixtags = array( # french spaces, last one Guillemet-left - '/ (\\?|:|!|\\302\\273)/i' => ' \\1', + '/ (\\?|:|;|!|\\302\\273)/i' => ' \\1', # french spaces, Guillemet-right '/(\\302\\253) /i' => '\\1 ', '/([^> ]+(0(1|3|9);)[^< ]*)/i' => '\\1', -- 2.20.1