Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.8.9

Bug #19665 Treat Mail-Reply-To and Mail-Followup-To as structured recipient headers
Submitted: 2012-10-22 12:10 UTC Modified: 2012-10-23 08:24 UTC
From: brotherli Assigned: alec
Status: Closed Package: Mail_Mime (version 1.8.5)
PHP Version: Irrelevant OS:
Roadmaps: 1.8.6    
Subscription  


 [2012-10-22 12:10 UTC] brotherli (Thomas Bruederli)
Description: ------------ In Mail_mimePart::encodeHeader() there's a list of structured headers ($comma_headers) which are encoded as email addresses. Please add Mail-Reply-To and Mail-Followup-To there as well since they also should be quoted in a way that the email address part remains unencoded. Test script: --------------- Set headers To, Cc, Bcc, Reply-To, Mail-Reply-T and Mail-Follow-Up-Tp to the following value: Izmir Übel <izmir.uebel@test.de> with charset ISO-8859-1 Expected result: ---------------- To: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Cc: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Bcc: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Reply-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Mail-Reply-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Mail-Followup-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Actual result: -------------- To: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Cc: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Bcc: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Reply-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <izmir.uebel@test.de> Mail-Reply-To: =?ISO-8859-1?Q? Izmir_=DCbel_=3Cizmir=2Euebel=40test=2Ede?= =?ISO-8859-1?Q?=3E?= Mail-Followup-To: =?ISO-8859-1?Q? Izmir_=DCbel_=3Cizmir=2Euebel=40test=2Ed?= =?ISO-8859-1?Q?e=3E?=

Comments

 [2012-10-23 08:24 UTC] alec (Aleksander Machniak)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alec
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2012-10-23 08:24 UTC] alec (Aleksander Machniak)
-Roadmap Versions: +Roadmap Versions: 1.8.6