php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12409 Form variables are unexpectedly being escaped
Submitted: 2001-07-26 17:28 UTC Modified: 2001-07-26 18:31 UTC
From: ryan dot smith at openwave dot com Assigned:
Status: Closed Package: Variables related
PHP Version: 4.0.6 OS: Solaris
Private report: No CVE-ID: None
 [2001-07-26 17:28 UTC] ryan dot smith at openwave dot 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 18:26 UTC] ryan dot smith at openwave dot com
Ah - it looks like magic_quotes_gpc is now defaults to on.  Should it?
 [2001-07-26 18:31 UTC] rasmus@php.net
It always did
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC