php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16503 mail() provides \" or \' escaped characters for single and double quotes
Submitted: 2002-04-08 23:44 UTC Modified: 2002-04-09 04:16 UTC
From: carl-fox at surplusnet dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.1.2 OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: carl-fox at surplusnet dot com
New email:
PHP Version: OS:

 

 [2002-04-08 23:44 UTC] carl-fox at surplusnet dot com
mail() improperly escapes single and double quotes.  For example:   '   appears as   \'   (as when an apostrophe
is in the email text, like    " person's  automobile"  shows up as "person\'s automobile".  The email sent contains the escaped character with the \ in front of it instead of sending the character properly.   

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-08 23:48 UTC] carl-fox at surplusnet dot com
mail() improperly escapes single and double quotes.  For example:   '  
   appears as   \'   (as when an apostrophe
   is in the email text, like    " person's  automobile"  shows up as
   "person\'s automobile".  The email sent contains the escaped character
   with the \ in front of it instead
 [2002-04-09 04:16 UTC] sander@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php


 [2003-12-17 20:58 UTC] michael at internetmarketinggroup dot com
Sander,

this is a bug and has nothing to do with support. 
It shouldn't put escape characters in the e-mails.

I'm getting the same problem as carl-fox, and I'm running Win2k

Please respond with a fix.

Thanks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC