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)

Reply via email to