Bug #19665 [Csd]: Treat Mail-Reply-To and Mail-Followup-To as structured recipient headers

From: Date: Tue, 23 Oct 2012 08:24:43 +0000
Subject: Bug #19665 [Csd]: Treat Mail-Reply-To and Mail-Followup-To as structured recipient headers
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-9208@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19665&edit=1 ID: 19665 Updated by: alec@alec.pl Reported By: debugger at brotherli dot ch Summary: Treat Mail-Reply-To and Mail-Followup-To as structured recipient headers Status: Closed Type: Bug Package: Mail_Mime Package Version: 1.8.5 PHP Version: Irrelevant Assigned To: alec -Roadmap Versions: +Roadmap Versions: 1.8.6 New Comment: -Roadmap Versions: +Roadmap Versions: 1.8.6 Previous Comments: ------------------------------------------------------------------------ [2012-10-23 09:24:35] alec -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-22 13:10:19] brotherli 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?= ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19665&edit=1

« previous php.pear.bugs (#9208) next »