Zsombor Gegesy created HUPA-103:
-----------------------------------

             Summary: 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


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]

Reply via email to