]> granicus.if.org Git - php/commitdiff
Reset the state, if there is garbage in an HTML tag.
authorSascha Schumann <sas@php.net>
Fri, 17 Nov 2000 16:27:37 +0000 (16:27 +0000)
committerSascha Schumann <sas@php.net>
Fri, 17 Nov 2000 16:27:37 +0000 (16:27 +0000)
PR: #7854

ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re

index fe30e228f530382cb8d5c4906e0551966c609cda..eaf8249d8a9a33569fac40a5cdfa9dd1b17c659a 100644 (file)
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Thu Oct 26 20:28:43 2000 */
+/* Generated by re2c 0.5 on Fri Nov 17 17:26:38 2000 */
 #line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re"
 /*
   +----------------------------------------------------------------------+
@@ -364,7 +364,7 @@ yy21:
 yy22:  yych = *++YYCURSOR;
 yy23:
 #line 254
-       { PASSTHRU(); continue; }
+       { PASSTHRU(); STATE = STATE_PLAIN; continue; }
 }
 #line 255
 
index 63df5c136631952c86ef0e165d2ce590a2330333..997a29ebc00736e83233f4a8a86f1ab556188c43 100644 (file)
@@ -251,7 +251,7 @@ alpha = [a-zA-Z];
   ">"          { PASSTHRU(); HANDLE_FORM(); STATE = STATE_PLAIN; continue; }
   [ \n]                { PASSTHRU(); continue; }
   alpha                { YYCURSOR--; STATE = STATE_ARG; continue; }
-  any          { PASSTHRU(); continue; }
+  any          { PASSTHRU(); STATE = STATE_PLAIN; continue; }
 */
                        break;