hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "freetwix (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (HTTPCLIENT-810) cookie value parsing
Date Fri, 12 Dec 2008 10:47:44 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

freetwix reopened HTTPCLIENT-810:

There are 2 points against it:

1) in http://www.faqs.org/rfcs/rfc2965.html

Note: For backward compatibility, the separator in the Cookie header
   is semi-colon (;) everywhere.  A server SHOULD also accept comma (,)
   as the separator between cookie-values for future compatibility.

for me this means a comma is valid between cookie values (ok, it must not be supported)

2) every a-browser handles this Set-Cookie call correctly as one cookie 

an argument for u?

> cookie value parsing
> --------------------
>                 Key: HTTPCLIENT-810
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-810
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpCookie
>    Affects Versions: 3.1 Final
>         Environment: jmeter test (using jmeter 2.3.2)
>            Reporter: freetwix
> A cookie is set in a request like this:
>   Set-Cookie: cookiename=|foo=yyy,bar=xxx|; secure; path=/
> The resulting cookie in the next request looks like this:
>   cookiename=|foo=yyy; bar=xxx|;
> as far as i understand, the one cookie is parsed into 2 cookies. jmeter seems to use
httpclient-3.1 for the parsing. is this an issue for you?
> greets,
> freetwix

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message