php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #939 Automatically inserts a \ before a ' cuasing a \' on a post
Submitted: 1998-11-21 23:11 UTC Modified: 1998-11-23 00:06 UTC
From: webmaster at pollit dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.5 OS: lunix
Private report: No CVE-ID: None
 [1998-11-21 23:11 UTC] webmaster at pollit dot com
When a form post contains a  '   a \ is inserted before it.

ex. If the word "isn't" was typed into a form text box and submitted the result would be "isn\'t"
you can see an example of this on the php3 website at  http://php3.net/FAQ.php3

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-23 00:06 UTC] jim
This is what is supposed to happen when the magic_quotes_gpc
configuration setting is set. 

The php3.net mirror problem is related, in that they apparently have
magic_quotes_runtime set, but the current code for the site does not expect
this. Check one of the other mirrors like http://ca.php.net/FAQ.php3 to see
what happens when it is set as expected (off) for PHP mirrors.

Jim
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 12:01:31 2024 UTC