[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] [Commented] (HTTPCLIENT-1006) BrowserCompatSpec: don't trim " around cookie value
From:       "Julian Reschke (JIRA)" <jira () apache ! org>
Date:       2016-12-29 22:43:58
Message-ID: JIRA.12475738.1286178294000.615669.1483051438341 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1006?page=com.atlassian.jira.pl \
ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15786296#comment-15786296 \
] 

Julian Reschke commented on HTTPCLIENT-1006:
--------------------------------------------

Specs (in IETF land) are the way they are based on who shows up to do volunteer work \
to write or revise them. Not unlike open source projects.

The current cookie spec aims to describe how cookies work in practice. Consistenvy \
with previous versions (AFAIR) was a nice-to-have, not a requirement.

> BrowserCompatSpec: don't trim " around cookie value
> ---------------------------------------------------
> 
> Key: HTTPCLIENT-1006
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1006
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.0.2
> Reporter: Marc Guillemot
> 
> If the server sends a cookie header like:
> Set-Cookie: first="hello world"
> then HttpClient parses it as cookie with value >hello world<, wrongly removing the \
> leading and trailing quotes. The incorrect quote removal occurs in \
> BasicHeaderValueParser.



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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic