ID:               44886
 Updated by:       [EMAIL PROTECTED]
 Reported By:      suhachov at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: *
 PHP Version:      5.2.5
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------

[2008-05-01 22:28:53] suhachov at gmail dot com

Description:
------------
output_add_rewrite_var() fails to operate on forms with attributes
containing underscores:
<form _url="..">...</form>

The reason is that only a-zA-Z are allowed in attribute names:
ext/standard/url_scanner_ex.re, lines 310-...:
state_arg:
        start = YYCURSOR;
/*!re2c
  alpha alphadash*      { passthru(STD_ARGS); handle_arg(STD_ARGS); STATE =
STATE_BEFORE_VAL; goto state_before_val; }
  any           { passthru(STD_ARGS); STATE = STATE_NEXT_ARG; goto
state_next_arg; }
*/

and alpha is:
alpha = [a-zA-Z];


I know that _ is not a character that is used in any standard html
attributes, but it's used sometimes in the dojo world.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44886&edit=1

Reply via email to