From: Ilia Alshanetsky Date: Wed, 12 Feb 2003 14:56:13 +0000 (+0000) Subject: Fixed bug #22048 (incorrect insertion of session id when tabs are used to X-Git-Tag: RELEASE_0_5~1081 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1802d72287027a221308ed3c26a7e15c17b7bec;p=php Fixed bug #22048 (incorrect insertion of session id when tabs are used to separate tag elements). --- diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 972752bd7a..c03597c70f 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -1,5 +1,5 @@ -/* Generated by re2c 0.5 on Mon Sep 30 06:55:58 2002 */ -#line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re" +/* Generated by re2c 0.5 on Wed Feb 12 09:54:41 2003 */ +#line 1 "/home/rei/PHP_CVS/php5/ext/standard/url_scanner_ex.re" /* +----------------------------------------------------------------------+ | PHP Version 4 | @@ -706,7 +706,7 @@ state_val: unsigned int yyaccept; static unsigned char yybm[] = { 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 160, 248, 248, 248, 248, 248, + 248, 160, 160, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 160, 248, 56, 248, 248, 248, 248, 200, @@ -745,7 +745,7 @@ yy58: yych = *YYCURSOR; if(yych <= '!'){ if(yych <= '\n'){ - if(yych <= '\t') goto yy63; + if(yych <= '\b') goto yy63; goto yy64; } else { if(yych == ' ') goto yy64; diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index 329fb22245..f3c638863e 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 4 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2002 The PHP Group | + | Copyright (c) 1997-2003 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -322,7 +322,7 @@ state_val: /*!re2c ["] (any\[">])* ["] { handle_val(STD_ARGS, 1, '"'); goto state_next_arg_begin; } ['] (any\['>])* ['] { handle_val(STD_ARGS, 1, '\''); goto state_next_arg_begin; } - (any\[ \n>])+ { handle_val(STD_ARGS, 0, '\0'); goto state_next_arg_begin; } + (any\[ \t\n>])+ { handle_val(STD_ARGS, 0, '\0'); goto state_next_arg_begin; } any { passthru(STD_ARGS); goto state_next_arg_begin; } */