[
https://issues.apache.org/jira/browse/CXF-5383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-5383.
------------------------------
Resolution: Fixed
Fix Version/s: 2.6.11
2.7.8
> Trailing semi-colon in Content-Type line of header for MTOM attachments.
> ------------------------------------------------------------------------
>
> Key: CXF-5383
> URL: https://issues.apache.org/jira/browse/CXF-5383
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.7.7
> Reporter: Matt Roberts
> Assignee: Daniel Kulp
> Fix For: 2.7.8, 2.6.11
>
>
> In some situations when building the XML for MTOM attachments there will be a
> trailing semi-colon at the end of the Content-Type line in the header. This
> is causing some other software suites issues when trying to parse the data.
> For instance:
> Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";
> There shouldn't be a semi-colon after the "type" value as it's the last of
> the Content-Type key/value pairs.
> On line 129 of AttachmentSerializer you can see how the header gets built up
> and always adds a semi-colon.
--
This message was sent by Atlassian JIRA
(v6.1#6144)