From: Guillaume Blanchard Date: Fri, 13 Aug 2004 14:15:21 +0000 (+0000) Subject: MAX_INCLUDE_REPEAT 5 => 20 X-Git-Tag: 1.5.0alpha1~2382 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=1c8f04ece24687c5437b8aa2f8cb14108ce6b094;p=lhc%2Fweb%2Fwiklou.git MAX_INCLUDE_REPEAT 5 => 20 Fix non-breaking space before ';' --- 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',