You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2005/05/04 18:53:07 UTC

[jira] Updated: (JAMES-356) MimeMessageWrapper does not handle multiline headers

     [ http://issues.apache.org/jira/browse/JAMES-356?page=all ]

Stefano Bagnara updated JAMES-356:
----------------------------------

    Attachment: MimeMessageWrapper.java.patch
                MimeMessageWrapperTest.java.patch

Here is the patch and the test that shows the bug and the fixed behaviour.

> MimeMessageWrapper does not handle multiline headers
> ----------------------------------------------------
>
>          Key: JAMES-356
>          URL: http://issues.apache.org/jira/browse/JAMES-356
>      Project: James
>         Type: Bug
>   Components: James Core
>     Versions: 2.2.0
>  Environment: James 2.2.0, JDK1.4.2/JDK1.5, Linux Fedora/Windowx XP
>     Reporter: Stefano Bagnara
>     Priority: Minor
>  Attachments: MimeMessageWrapper.java.patch, MimeMessageWrapperTest.java.patch
>
> getSubject in MimeMessageWrapper does not unfold header content. This cause errors for example while DSNBounce'ing a MimeMessage with a long subject (multiline if more than 77 chars).
> It should call "unfold()" method from the MimeMessage class but this is private, so we should rewrite an unfold procedure.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org