Summary: | MIME Multipart message fails to display if preamble is encoded | ||||||
---|---|---|---|---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Chistopher Hall <hsw> | ||||
Component: | UI/Message View | Assignee: | users | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.8.0 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Chistopher Hall
2012-06-27 08:50:30 UTC
Created attachment 1119 [details]
Sample email that causes the failure
Hi, This is invalid according to the very paragraph you quote (7.2): As stated in the definition of the Content-Transfer-Encoding field, no encoding other than "7bit", "8bit", or "binary" is permitted for entities of type "multipart". The multipart delimiters and header fields are always 7-bit ASCII in any case, and data within the body parts can be encoded on a part-by-part basis, with Content-Transfer-Encoding fields for each appropriate body part. Thanks for the quick response. I know it is invalid it is just that I receive a lot of emails from Windows clients which do this. I suspect it when a eight bit character set is in use, such as big5. It seems that all it would take would be to ignore any content-encoding header. A quick test shows that renaming the header to: X-IGNORE-Content-Transfer-Encoding: base64 and the message displays correctly. So I wrote a script: https://github.com/hxw/dotfiles/blob/master/bin/fix-mime-multipart.pl which can be bound to an Action and added to the toolbar Just added this in case anyone else has this problem |