cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Graf (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2529) processCookieParam only returns last cookie
Date Mon, 09 Nov 2009 22:53:32 GMT
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


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.


Mime
View raw message