]> granicus.if.org Git - php/commitdiff
Correct fix for #28804
authorZeev Suraski <zeev@php.net>
Sun, 6 Feb 2005 23:51:59 +0000 (23:51 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 6 Feb 2005 23:51:59 +0000 (23:51 +0000)
Zend/zend_ini_scanner.l

index 060e215d0cbcba5e096f810fc4792f1dbbd8c5ad..9fbf5ea443dd9ee0c8cc305856358c3b79300dcc 100644 (file)
@@ -116,7 +116,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
        return CFG_FALSE;
 }
 
-<INITIAL>\[[^\]\[]+\][ ]*{NEWLINE}? {
+<INITIAL>[[][^\]\n]+[\]][ ]*{NEWLINE}? {
        /* SECTION */
 
        /* eat trailing ] and spaces */