You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2015/11/14 21:50:11 UTC

[jira] [Resolved] (HTTPCLIENT-1695) RFC6265Spec shouldn't throw exception on empty cookie name

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

Oleg Kalnichevski resolved HTTPCLIENT-1695.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.0
                   4.5.2

Fixed in SVN trunk and 4.5.x branch.

Oleg

> RFC6265Spec shouldn't throw exception on empty cookie name
> ----------------------------------------------------------
>
>                 Key: HTTPCLIENT-1695
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1695
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpCookie
>    Affects Versions: 4.5.1
>            Reporter: Michael Gardner
>            Priority: Minor
>             Fix For: 4.5.2, 5.0
>
>
> In section 5.2, RFC 6265 says "If the name string is empty, ignore the set-cookie-string entirely." But RFC6265Spec explicitly throws an exception in this case, rather than ignore the cookie string. This make HTTPClient unable to handle certain HTTP responses (which browsers do handle).



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