[ https://issues.apache.org/jira/browse/HTTPCLIENT-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871523#comment-15871523 ]
Julian Reschke commented on HTTPCLIENT-1006: -------------------------------------------- FWIW, I asked on the IETF HTTP WG mailing list (see https://lists.w3.org/Archives/Public/ietf-http-wg/2017JanMar/0226.html). dved...@mozilla.com confirms that browsers round-trip the double quotes (see https://lists.w3.org/Archives/Public/ietf-http-wg/2017JanMar/0227.html). w...@adambarth.com (author of RFC 6265) confirms in https://lists.w3.org/Archives/Public/ietf-http-wg/2017JanMar/0229.html that this was the intent, and even points at test cases. > 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.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org