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

Bug #9976 Subject encoded twice
Submitted: 2007-01-30 10:10 UTC
From: fuxa_kos at unihost dot cz Assigned: cipri
Status: Closed Package: Mail_Mime (version 1.3.1)
PHP Version: 5.1.6 OS: Linux
Roadmaps: 1.4.0, 1.4.0a1    
Subscription  


 [2007-01-30 10:10 UTC] fuxa_kos at unihost dot cz (karelbarel)
Description: ------------ Code fragment: $body = $mime->get(array('text_charset'=>'UTF-8', 'text_encoding'=>'8bit', 'head_charset'=>'UTF-8')); $hdrs = $mime->headers(array('Subject'=>('NovĂ˝ uchaze?')); Produce: Subject: =?UTF-8?Q?Nov=C3=BD?= =?UTF-8?Q?uchaze=C4=8D?= Secondary effect, mail got spam score by spamassassin SUBJECT_ENCODED_TWICE=1.723

Comments

 [2007-03-08 00:31 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. 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. The new way of encoding headers doesn't do this anymore except where absolutely necessary.
 [2007-05-05 15:07 UTC] cipri (Cipriano Groenendal)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Mail_Mime Fixed in 1.4.0