Closed (fixed)
Project:
Mailhandler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2008 at 04:37 UTC
Updated:
11 May 2009 at 19:30 UTC
I found that for email messages with a number of base64-encoded text parts, the text parts are not decoded by mailhandler. Here's a patch that resolves the problem for me.
I have not yet tested this on a large number of e-mails. But if I find any problems with it I'll report back here.
| Comment | File | Size | Author |
|---|---|---|---|
| mailhandler-decode.patch | 1.31 KB | mfb |
Comments
Comment #1
z.stolar commentedCan you suggest a way to test this?
Comment #2
mfbTo test the bug you just need a message with multiple base64-encoded text parts. I can forward you such a message if you don't have any way to generate it and you give me an e-mail address.
Comment #3
z.stolar commentedSure - I'd love to learn what the problem looks like. My address is zohar at linnovate dot net.
However - please feel free to commit any patch you judge adequate and ready. I hate being a bottleneck and I fully trust your judgment.
Comment #4
mfbWe could really use a test suite for this module, complete with a set of sample messages. That would make me feel more confident about committing such a patch. I'm not sure how, when an IMAP server is needed for testing..
Comment #5
mfbFYI I just bounced a sample message to you, the original message structure should be intact (I used mutt, my favourite mail client ;)
Comment #6
z.stolar commentedPatch looks fine to me. applied.