You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Benoit Tellier (Jira)" <mi...@james.apache.org> on 2021/06/15 07:07:00 UTC

[jira] [Created] (MIME4J-301) ContentTypeFieldImpl do fill a stacktrace when ended by a semicolon

Benoit Tellier created MIME4J-301:
-------------------------------------

             Summary: ContentTypeFieldImpl do fill a stacktrace when ended by a semicolon
                 Key: MIME4J-301
                 URL: https://issues.apache.org/jira/browse/MIME4J-301
             Project: James Mime4j
          Issue Type: Improvement
          Components: dom
    Affects Versions: 0.8.5
            Reporter: Benoit Tellier
             Fix For: 0.8.6


While running some performance tests for the Apache James server, I noted a bunch of time spent filling some stacktraces while parsing some content types. See attached screenshot.

I noted that inputs like `Content-Type: text/plain;` was causing ContentTypeFieldImpl to fill some stacktraces while not preventing this class from doing a correct parsing.

As such, it make sense to me to consider such inputs as valid.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)