[PHP-DEV] Bug #11664: "Text" in web form interpreted as \"Text\" i.e. \\\"Text\\\" From: mlambert <email protected>
Date: 06/25/01

From: mlambert <email protected>
Operating system: WinNT 4.0
PHP version: 4.0.6
PHP Bug Type: Scripting Engine problem
Bug description: "Text" in web form interpreted as \"Text\" i.e. \\\"Text\\\"

Quoted text in Query String e.g "T", passed to form handler as %22T%22, is treated by the action script as
\"T\" (5 characters) as if the output of
echo \\\"T\\\";
this is different from
rawurldecode("%22T%22");

Repeated SUBMITS (form below) show the problem increasing

<HTML><BODY>
<FORM ACTION="<?php echo $PHP_SELF; ?>" METHOD="get">
<TEXTAREA NAME="c" > <?php echo $c; ?></TEXTAREA><BR>
<INPUT TYPE="SUBMIT" VALUE="SUBMIT"> </CENTER>
</FORM></BODY></HTML>

Results the same for Apache 3.14 and Xitami2.5b4 servers with both self-reference and external scripts

-- 
Edit Bug report at: http://bugs.php.net/?id=11664&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>