Diff for /embedaddon/php/ext/standard/url_scanner_ex.re between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2013/07/22 01:32:05 version 1.1.1.4, 2013/10/14 08:02:35
Line 317  state_next_arg_begin: Line 317  state_next_arg_begin:
 state_next_arg:  state_next_arg:
         start = YYCURSOR;          start = YYCURSOR;
 /*!re2c  /*!re2c
  ">"                { passthru(STD_ARGS); handle_form(STD_ARGS); goto state_plain_begin; }  [/]? [>]                { passthru(STD_ARGS); handle_form(STD_ARGS); goto state_plain_begin; }
   [ \v\r\t\n]+  { passthru(STD_ARGS); goto state_next_arg; }    [ \v\r\t\n]+  { passthru(STD_ARGS); goto state_next_arg; }
   alpha         { --YYCURSOR; STATE = STATE_ARG; goto state_arg; }    alpha         { --YYCURSOR; STATE = STATE_ARG; goto state_arg; }
   any           { passthru(STD_ARGS); goto state_plain_begin; }    any           { passthru(STD_ARGS); goto state_plain_begin; }
Line 343  state_val: Line 343  state_val:
 /*!re2c  /*!re2c
   ["] (any\[">])* ["]   { handle_val(STD_ARGS, 1, '"'); goto state_next_arg_begin; }    ["] (any\[">])* ["]   { handle_val(STD_ARGS, 1, '"'); goto state_next_arg_begin; }
   ['] (any\['>])* [']   { handle_val(STD_ARGS, 1, '\''); goto state_next_arg_begin; }    ['] (any\['>])* [']   { handle_val(STD_ARGS, 1, '\''); goto state_next_arg_begin; }
  (any\[ \r\t\n>])+     { handle_val(STD_ARGS, 0, ' '); goto state_next_arg_begin; }  (any\[ \r\t\n>'"])+     { handle_val(STD_ARGS, 0, ' '); goto state_next_arg_begin; }
   any                                   { passthru(STD_ARGS); goto state_next_arg_begin; }    any                                   { passthru(STD_ARGS); goto state_next_arg_begin; }
 */  */
   
Line 463  static void php_url_scanner_output_handler(char *outpu Line 463  static void php_url_scanner_output_handler(char *outpu
   
 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC)  PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC)
 {  {
        char *encoded;        char *encoded = NULL;
         int encoded_len;          int encoded_len;
         smart_str val;          smart_str val;
                   

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>