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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ryan dot smith at openwave dot com
New email:
PHP Version: OS:

 

 [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-2019 The PHP Group
All rights reserved.
Last updated: Fri Mar 22 14:01:26 2019 UTC