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] [Resolved] (HTTPCLIENT-1695) RFC6265Spec shouldn't throw exception on empty cookie name
Date Sat, 14 Nov 2015 20:50:11 GMT

     [ 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


Mime
View raw message