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 2018/02/08 13:12:00 UTC

[jira] [Commented] (HTTPCLIENT-1904) NPE in PublicSuffixDomainFilter

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

Oleg Kalnichevski commented on HTTPCLIENT-1904:
-----------------------------------------------

Please post the exact exception stack trace demonstrating the issue.
Besides, we happily take PRs at GitHub.
Oleg

> 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
(v7.6.3#76005)

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