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

Bug #7083 Mail_mimeDecode: Q-printable from TB 1.5 fails to decode
Submitted: 2006-03-09 21:40 UTC
From: joho at webbplatsen dot se Assigned:
Status: No Feedback Package: Mail_mimeDecode (version 1.3.1)
PHP Version: Irrelevant OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2012-01-27 19:45 UTC
Package:
Bug Type:
Summary:
From: joho at webbplatsen dot se
New email:
PHP Version: Package Version: OS:

 

 [2006-03-09 21:40 UTC] joho at webbplatsen dot se (Joaquim Homrighausen)
Description: ------------ As far as I can see, there's nothing unclear about the message header nor the message's contents or encoding. Or is it barfing because there's no 7bit/8bit indicator? Test script: --------------- This is the code: $input = ''; $fp = fopen("php://stdin", "r"); while (!feof ($fp)) { $input .= fgets ($fp, 1024); } $xo = new Mail_mimeDecode ($input); $xa = array (); $xa ['include_bodies'] = TRUE; $xa ['decode_bodies'] = TRUE; $xa ['decode_headers'] = TRUE; $xp = $xo->decode ($xa); This is the mail: Date: Thu, 09 Mar 2006 22:18:13 +0100 From: Joaquim Homrighausen <joho@foo.doo> User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: joho@foo.doo Subject: Detta =?ISO-8859-1?Q?=E4r_en_test=2C_som_vi_skall_te?= =?ISO-8859-1?Q?sta?= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Och h=E4r =E4r mailet :-) Expected result: ---------------- Subject: Detta är en test, som vi skall testa Och här är mailet :-) Actual result: -------------- Subject: Detta ,r en test, som vi skall testa Och h,r ,r mailet :-)

Comments

 [2006-03-09 21:43 UTC] joho at webbplatsen dot se
mime.php: 1.39 mimeDecode.php: 1.46
 [2006-04-27 14:35 UTC] cipri (Cipriano Groenendal)
Moved to Mail_MimeDecode subpackage.
 [2006-04-27 14:35 UTC] cipri (Cipriano Groenendal)
Moved to Mail_MimeDecode subpackage.
 [2010-09-02 16:52 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Feedback
SVN version appears to work in
 [2012-01-27 19:45 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: No Feedback -Roadmap Versions: 1.6.0 +Roadmap Versions: