cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6693) CXF fails to parse Cookie header when it contains $ character
Date Mon, 30 Nov 2015 14:23:11 GMT

    [ https://issues.apache.org/jira/browse/CXF-6693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031819#comment-15031819
] 

Sergey Beryozkin commented on CXF-6693:
---------------------------------------

See http://git-wip-us.apache.org/repos/asf/cxf/commit/a5296802

As I said you can optimize it by setting a contextual cookie separator property, to avoid
the runtime checking if the value contains $Version/etc, if you know that the clients won't
be sending such attributes. Hope it will work well for all the variations 

> CXF fails to parse Cookie header when it contains $ character
> -------------------------------------------------------------
>
>                 Key: CXF-6693
>                 URL: https://issues.apache.org/jira/browse/CXF-6693
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.4
>            Reporter: Thorsten Hoeger
>            Assignee: Sergey Beryozkin
>            Priority: Critical
>             Fix For: 3.1.5, 3.0.8, 3.2.0
>
>
> If the Cookie header contains $ character the method getCookies in org.apache.cxf.jaxrs.impl.HttpHeadersImpl
in line 113 fails to parse the individual cookies and returns the complete string as one cookie.
Values with ; character will possibly fail to in the current implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message