[
https://issues.apache.org/jira/browse/HUPA-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zsombor Gegesy updated HUPA-103:
--------------------------------
Attachment: 0001-handle-better-when-after-a-multipart-alternative-the.patch
with this patch, we keep track, that if the message is already in html, so when
a new, non-html fragment is appended, it is automatically converted to html.
> Multipart messages is not handled properly
> ------------------------------------------
>
> Key: HUPA-103
> URL: https://issues.apache.org/jira/browse/HUPA-103
> Project: JAMES Hupa
> Issue Type: Bug
> Components: server
> Reporter: Zsombor Gegesy
> Assignee: Manuel Carrasco MoƱino
> Attachments:
> 0001-handle-better-when-after-a-multipart-alternative-the.patch
>
>
> If a mail contains both text/html and text/plain parts, currently Hupa use
> the last mime type to determine the mime type for the whole message, which is
> wrong, for example mailing list softwares prefers to attach a common
> signature as a separate mime part, so one can get mails like this:
> - Content-Type: multipart/alternative
> + Content-Type: text/plain
> + Content-Type: text/html
> - Content-Type: text/plain
> In this case, hupa picks the text/html part, and merge with the last
> text/plain part, and treat as text/plain message, so it will escapes all the
> html tags, showing the message as nearly unreadable.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]