james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Wiederkehr (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Created: (MIME4J-115) Parse RFC 5322 Obsolete Syntax
Date Sat, 07 Feb 2009 15:15:02 GMT
Parse RFC 5322 Obsolete Syntax

                 Key: MIME4J-115
                 URL: https://issues.apache.org/jira/browse/MIME4J-115
             Project: JAMES Mime4j
          Issue Type: Improvement
    Affects Versions: 0.6
            Reporter: Markus Wiederkehr
             Fix For: 0.7

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.

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

View raw message