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

exception expected when mime part has no end boundary and parsing is strict

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6
    • 0.7
    • None
    • None

    Description

      It would simplify my code if, when parsing strictly, the body text stream provided by a mime part would throw an exception, eg., EOFException, when the part has no end boundary. This seems semantically more correct.

      The current behaviour means that I can't just pass the stream but have to wrap it in a proxy which knows about the real stream, the original mime parser and the sequence of events which lead to a check for the end of boundary.

      Attachments

        1. TuncTest.java
          1 kB
          Rohan Hart

        Activity

          People

            olegk Oleg Kalnichevski
            rohan.hart Rohan Hart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: