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] Created: (MIME4J-151) Ignore the first WSP in getBody, and add one WSP after the ":" when writing (customary practice)
Date Wed, 30 Dec 2009 00:18:29 GMT
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.8


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