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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 09:01:28 2025 UTC