Bug #19653 [Opn]: Mail_mimePart::encodeHeader() strips off quotes
| From: | alec at alec dot pl | Date: | Mon, 15 Oct 2012 13:07:29 +0000 |
| Subject: | Bug #19653 [Opn]: Mail_mimePart::encodeHeader() strips off quotes | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9186@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19653&edit=1
ID: 19653
Updated by: alec@alec.pl
Reported By: debugger at brotherli dot ch
Summary: Mail_mimePart::encodeHeader() strips off quotes
Status: Open
Type: Bug
Package: Mail_Mime
Package Version: 1.8.5
PHP Version: 5.3.10
Roadmap Versions:
New Comment:
If the header is encoded, quotes aren't needed. Please, provide a sample
script that demonstrates your issue. Also input and output, how it looks
now and what do you expect.
Previous Comments:
------------------------------------------------------------------------
[2012-10-15 14:05:16] brotherli
Description:
------------
When encoding a quotes message header such as
"Lastnäme, Firstnäme" <mail@somedomain.tld>
the quotes are removed while encoding the header into quoted-
printable. This is done on line 878 with $word = substr($word, 1,
-1);
The quotes around the above mentioned example header are
essential because the name part contains a comma which is
used as a common delimiter in recipient lists.
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19653&edit=1