php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4204 HTTP vars have '\'s added
Submitted: 2000-04-20 14:16 UTC Modified: 2000-04-20 14:49 UTC
From: kai at jedi dot net Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Release Candidate 1 OS: Linux Red Hat 6.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 24 = ?
Subscribe to this entry?

 
 [2000-04-20 14:16 UTC] kai at jedi dot net
The HTTP_POST_VARS, for example, are returned with \ escapes of all ' and \.  I've had to write a function that is called before every page that loops through the array and removes all backslashes.  

Not sure if these are produced by Apache, Netscape, or PHP.  If not PHP, it would be nice to remove these in the pre-processing.  (And would then make this a feature request instead of a bug report!)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-20 14:49 UTC] zeev at cvs dot php dot net
Turn magic_quotes_gpc off - again, refer to the php.ini-dist file supplied with PHP 4.0RC1.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 15:01:36 2024 UTC