Uploaded image for project: 'James Mime4j'
  1. James Mime4j
  2. MIME4J-320

Date parsing should be case-insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.8.7
    • None
    • dom
    • None

    Description

      RFC 5322 (Internet Message Format) states that ABNF according to RFC 5234 (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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cketti cketti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m