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

Bug #19665 Treat Mail-Reply-To and Mail-Followup-To as structured recipient headers
Submitted: 2012-10-22 17:10 UTC
From: brotherli Assigned: alec
Status: Closed Package: Mail_Mime (version 1.8.5)
PHP Version: Irrelevant OS:
Roadmaps: 1.8.6    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 33 + 6 = ?

 [2012-10-22 17: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 <> with charset ISO-8859-1 Expected result: ---------------- To: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Cc: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Bcc: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Reply-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Mail-Reply-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Mail-Followup-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Actual result: -------------- To: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Cc: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Bcc: =?ISO-8859-1?Q?Izmir_=DCbel?= <> Reply-To: =?ISO-8859-1?Q?Izmir_=DCbel?= <> 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?=


 [2012-10-23 13: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 by the end of next Sunday (CET). If this was a problem with the 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 13:24 UTC] alec (Aleksander Machniak)
-Roadmap Versions: +Roadmap Versions: 1.8.6