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

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