Bug #12409 Updated: Form variables are unexpectedly being escaped
| From: | rasmus@php.net | Date: | Thu, 26 Jul 2001 22:31:59 +0000 |
| Subject: | Bug #12409 Updated: Form variables are unexpectedly being escaped | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61127@lists.php.net to get a copy of this message | ||
ID: 12409
Updated by: rasmus
Reported By: ryan.smith@openwave.com
Old Status: Open
Status: Closed
Bug Type: Variables related
Operating System: Solaris
PHP Version: 4.0.6
New Comment:
It always did
Previous Comments:
------------------------------------------------------------------------
[2001-07-26 18:26:57] ryan.smith@openwave.com
Ah - it looks like magic_quotes_gpc is now defaults to on. Should it?
------------------------------------------------------------------------
[2001-07-26 17:28:22] ryan.smith@openwave.com
When I sumbit a form which contains a textarea containing the quote character, the form variable
generated in
the submitted script contains an escaped quote. This didn't happen in PHP3, and I'm not
sure when it appeard in PHP4, as I've only used 4.0.6.
An example can be seen on www.php.net:
Enter a string containing quotes in the text search box. The resulting page will contain
multiple backslashes around the quotes.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12409&edit=1