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
 [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: Mon Apr 29 07:01:30 2024 UTC