[
https://issues.apache.org/jira/browse/GERONIMO-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen updated GERONIMO-4421:
--------------------------------------
Attachment: GERONIMO-4421.patch.txt
Attached patch with a fix for this issue as well as a unit test.
> ContentType fails to parse content types with parameters containing escaped
> characters
> --------------------------------------------------------------------------------------
>
> Key: GERONIMO-4421
> URL: https://issues.apache.org/jira/browse/GERONIMO-4421
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: mail, specs
> Reporter: Andreas Veithen
> Priority: Minor
> Attachments: GERONIMO-4421.patch.txt
>
>
> javax.mail.internet.ContentType fails to parse the following content type:
> multipart/related; type="application/xop+xml"; start="<[EMAIL PROTECTED]>";
> start-info="application/soap+xml; action=\"urn:upload\"";
> boundary="----=_Part_10_5804917.1223557742343"
> This is caused by a bug in HeaderTokenizer#readQuotedString that is triggered
> if a parameter contains an escaped character. In this case the "pos"
> attribute is not updated correctly at the end of the parsing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.