hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1006) BrowserCompatSpec: don't trim " around cookie value
Date Wed, 04 Jan 2017 16:14:58 GMT

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

Oleg Kalnichevski commented on HTTPCLIENT-1006:
-----------------------------------------------

Detlev,
I did not want to respond to this issue anymore. I will, one last time. 

It is bizarre that you mentioned compatibility as a justification for this <self censored>,
but for the <self censored> sake, the <self censored> spec breaks _every_ <self
censored> v1 cookie in existence that uses quoted-string grammar with quoted-pair(s) or
whitespace(s). 

So, please, this is enough.

Please raise a separate issue pertaining specifically to RFC 6265 conformance. You might also
want to advise those people at SAP to fix their server side scripts.

Oleg 

> 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


Mime
View raw message