Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.6
-
None
-
None
Description
RFC 5322 Section 4. Obsolete Syntax: "... Though these syntactic forms MUST NOT be generated according to the grammar in section 3, they MUST be accepted and parsed by a conformant receiver."
Here is an example:
obs-orig-date = "Date" *WSP ":" date-time CRLF
The obsolete syntax allows for WSP to appear before the colon. Currently Mime4j only accepts header fields where the colon immediately follows the field name, see class AbstractEntity.
There may be more to this issue; the JavaCC generated field parsers also need to be reviewed, for example.
Attachments
Issue Links
- is related to
-
MIME4J-150 Mime4J does not support mandatory rfc5322 "obsolete" syntax
- Resolved