cketti created MIME4J-320:
-----------------------------

             Summary: Date parsing should be case-insensitive
                 Key: MIME4J-320
                 URL: https://issues.apache.org/jira/browse/MIME4J-320
             Project: James Mime4j
          Issue Type: Bug
          Components: dom
    Affects Versions: 0.8.7
            Reporter: cketti


[RFC 5322|https://tools.ietf.org/html/rfc5322] (Internet Message Format) states 
that ABNF according to [RFC 5234|https://tools.ietf.org/html/rfc5234] 
(Augmented BNF for Syntax Specifications: ABNF) is used for the formal 
definitions of the syntax of messages. RFC 5234 states the following: "ABNF 
strings are case insensitive and the character set for these strings is 
US-ASCII."

That means {{day-name}} ("Mon", "Tue", …) and {{month}} ("Jan", "Feb", …) need 
to be parsed case-insensitive.

{{DateTimeParser}} doesn't do this and so something like {{WED, 10 AUG 2022 
20:00:00 +0200}} fails to parse.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to