[
https://issues.apache.org/jira/browse/CXF-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-2533.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3
2.2.5
That has been fixed on the trunk. Unfortunately it might brake other people's
code but without this fix it was not possible to handle recursive multiparts
(as in multipart/form-data with multiple files)
> Content disposition values don't have their quotes stripped
> -----------------------------------------------------------
>
> Key: CXF-2533
> URL: https://issues.apache.org/jira/browse/CXF-2533
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.2.4
> Reporter: Benson Margulies
> Fix For: 2.2.5, 2.3
>
>
> Given multipart/form-data.
> Given a content-disposition of
> form-data; name="comment"
> Accessing the attachment list from the injected context, and then getting a
> ContentDisposition object for the attachment.
> Calling ContentDisposition.getParameter("name") returns a string with the
> quotes still in place!
> This can't be intended, but changing it is incompatible and people might have
> written code to work around the current behavior. I'm about to.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.