[ 
https://issues.apache.org/jira/browse/MIME4J-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Tellier updated MIME4J-301:
----------------------------------
    Attachment: Screenshot from 2021-06-15 14-07-06.png

> 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
>            Priority: Major
>             Fix For: 0.8.6
>
>         Attachments: Screenshot from 2021-06-15 14-07-06.png
>
>
> 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