james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Resolved: (MIME4J-151) Ignore the first WSP in getBody, and add one WSP after the ":" when writing (customary practice)
Date Sat, 30 Jan 2010 19:20:34 GMT

     [ https://issues.apache.org/jira/browse/MIME4J-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefano Bagnara resolved MIME4J-151.
------------------------------------

    Resolution: Fixed

Merged from cycleclean branch.

> Ignore the first WSP in getBody, and add one WSP after the ":" when writing (customary
practice)
> ------------------------------------------------------------------------------------------------
>
>                 Key: MIME4J-151
>                 URL: https://issues.apache.org/jira/browse/MIME4J-151
>             Project: JAMES Mime4j
>          Issue Type: Task
>    Affects Versions: 0.6
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>             Fix For: 0.7
>
>
> http://www.imc.org/ietf-822/mail-archive/msg06183.html
> --
> Although in all header fields the CFWS following the colon is optional, it
> is customary practice to place at least one SP there; moreover such a SP
> is mandatory in Netnews [UESFOR] (and possibly in other protocols).
> Continuance of that practice by implementors is encouraged in order to
> facilitate interoperability.
> ---
> This never landed the final RFC5322 but it explain the reason behind the issue.
> Most mime writers put a space after the colon. Some of them are not conformant and expect
a WSP to be there.
> So we should probably remove the first WSP (if any) on getBody and add always a WSP after
the colon on writing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message