Bug #19653 [Opn->Fbk]: Mail_mimePart::encodeHeader() strips off quotes
| From: | alec at alec dot pl | Date: | Mon, 15 Oct 2012 13:30:33 +0000 |
| Subject: | Bug #19653 [Opn->Fbk]: Mail_mimePart::encodeHeader() strips off quotes | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9188@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
+Status: Feedback
Type: Bug
Package: Mail_Mime
Package Version: 1.8.5
PHP Version: 5.3.10
Roadmap Versions:
New Comment:
-Status: Open
+Status: Feedback
We are unable to reproduce the bug as reported.
Please provide a simple script (10 lines or less)
or a link to an external script that can be used
to reproduce the bug.
If you can provide the script, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PEAR.
I'm unable to reproduce any related issue in Roundcube.
Previous Comments:
------------------------------------------------------------------------
[2012-10-15 14:22:38] brotherli
I experience some clients (e.g. Roundcube, Postbox for Mac) having
problems to correctly decode the recipient list if quotes are missing.
It might indeed be a bug of these applications but Thunderbird for
example encodes the headers including the quotes. Feel free to close
this ticket and delegate the problem to these clients.
------------------------------------------------------------------------
[2012-10-15 14:07:29] alec
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.
------------------------------------------------------------------------
[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