ASF GitHub Bot commented on HTTPCLIENT-1904:

GitHub user navajo72 opened a pull request:


    HTTPCLIENT-1904: check cookie domain for null

    Ok, second try. Now it seems to be correct.
    The fix matches the behaviour of the BasicDomainHandler.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/navajo72/httpcomponents-client HTTPCLIENT-1904

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #98
commit c215bc7bb5f1aae9387c420c5b668ec3c5830b05
Author: Hans-Peter Keck <hans-peter.keck@...>
Date:   2018-02-09T09:21:59Z

    HTTPCLIENT-1904: check cookie domain for null


> NPE in PublicSuffixDomainFilter
> -------------------------------
>                 Key: HTTPCLIENT-1904
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1904
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.5.5
>            Reporter: Hans-Peter Keck
>            Priority: Minor
> The PublicSuffixDomainFilter.match(...) will throw an NPE if called with a 
> cookie that has no domain set (i.e. it is null). The filter should handle 
> this case gracefully, which means to just return "false".

This message was sent by Atlassian JIRA

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

Reply via email to