cxf-issues mailing list archives

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

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

Thorsten Hoeger commented on CXF-6693:
--------------------------------------

in my case the $ is not something like $Version but is part of a cookie value (SessionToken).

{code}
_gat=1; dtCookie=5$4DDADD6928E8E5EFF03DFC6774B0ACC1|RUM+Default+Application|1; rxVisitor=1448885761109JITGKQC4EUHOE6L194KAFORQ99M1139S;
dtLatC=346; rxvt=1448887596797|1448885761117; dtPC=5$485796791_784h1vFIIRUUDOEJMJIEJKWILJJNHGGBLENTTJ;
_ga=GA1.2.1866724752.1448885788
{/code}

> 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
>
> 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