[Tickets #7338] Bug in display of base64 encoded e-mails

bugs at horde.org bugs at horde.org
Mon Sep 15 09:39:45 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7338
------------------------------------------------------------------------------
  Ticket             | 7338
  Created By         | albert.darenberg at gmail.com
  Summary            | Bug in display of base64 encoded e-mails
  Queue              | IMP
  Version            | 4.3-RC2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


albert.darenberg at gmail.com (2008-09-15 05:39) wrote:

I receive sometimes some base64 encoded e-mails. Those are not  
correctly displayed by Horde. The specialty of those e-mails is that  
they consist of two base64 encoded parts. The message source looks  
like the following:

MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="b1_c45b2h52c330849d3f58635b08353726"

--b1_c45b2h52c330849d3f58635b08353726
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: base64

VGhpcyBpcyBzb21lIHJhbmRvbSBiYXNlNjQgZW5jb2RlZCB0ZXh
0LiBMb3JlbSBpcHN1bSBkb2xvciBzaXQgYW1ldCwgY29uc2VjdG
V0dWVyIHNhZGlwc2NpbmcgZWxpdHIsIHNlZCBkaWFtIG5vbnV
teSBlaXJtb2QgdGVtcG9yIGludmlkdW50IHV0IGxhYm9yZSBldCB
kb2xvcmUgbWFnbmEgYWxpcXV5YW0gZXJhdCwgc2Vk

--b1_c45b2h52c330849d3f58635b08353726
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: base64

VGhpcyBpcyBhbHNvIHNvbWUgcmFuZG9tIGJhc2U2NCB
lbmNvZGVkIHRleHQuIExvcmVtIGlwc3VtIGRvbG9yIHNpd
CBhbWV0LCBjb25zZWN0ZXR1ZXIgc2FkaXBzY2luZyBlb
Gl0ciwgc2VkIGRpYW0gbm9udW15IGVpcm1vZCB0ZW1
wb3IgaW52aWR1bnQgdXQgbGFib3JlIGV0IGRvbG9yZSB
tYWduYSB

--b1_c45b2h52c330849d3f58635b08353726--


IMP displays only the first part of the message (This is the footer,  
so it should be displayed at the end of the e-mail), while ignoring  
the 2nd base64 encoded part. Also note the content-type of the 2nd  
part (text/html).








More information about the bugs mailing list