[
https://issues.apache.org/jira/browse/CXF-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-2529.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3
2.2.5
Assignee: Sergey Beryozkin
trunk : http://svn.apache.org/viewvc?rev=834507&view=rev
2.2.x : http://svn.apache.org/viewvc?rev=834542&view=rev
> processCookieParam only returns last cookie
> -------------------------------------------
>
> Key: CXF-2529
> URL: https://issues.apache.org/jira/browse/CXF-2529
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.2.2
> Reporter: Jonathan Graf
> Assignee: Sergey Beryozkin
> Fix For: 2.2.5, 2.3
>
>
> Problem class: org.apache.cxf.jaxrs.utils.JAXRSUtils
> In JAXRSUtils.processCookieParam(), if there are multiple cookies in the
> header, only the last cookie will be returned when Cookie.valueOf() is called.
> This is because the list of all cookies is returned from values.get(0). When
> Cookie.valueOf() is called, it delegates to CookieHeaderProvider which simply
> loops through all of the tokenized cookie values and returns the last cookie.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.