|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
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
Enter a string containing quotes in the text search box.  The resulting page will contain
multiple backslashes around the quotes.


Add a Patch

Pull Requests

Add a Pull Request


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]
It always did
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 18 18:03:39 2021 UTC