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 2021/05/05 17:12:00 UTC
[jira] [Resolved] (HTTPCLIENT-2158) IPV6 Pattern matching fails if
IPv6 address enclosed in square brackets
[ https://issues.apache.org/jira/browse/HTTPCLIENT-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-2158.
-------------------------------------------
Resolution: Invalid
[~hbabureddy] Please upgrade to the latest 4.5.x release and re-open the issue if the problem still persists.
Oleg
> IPV6 Pattern matching fails if IPv6 address enclosed in square brackets
> -----------------------------------------------------------------------
>
> Key: HTTPCLIENT-2158
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2158
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.4.1
> Reporter: Babu Reddy
> Priority: Major
>
> InetAddressUtils.isIPv6Address method always returns false if IPV6 host address enclosed in square brackets is passed to this method as a parameter. Due to this Host name verification is failing.
>
> Reference: HTTPCLIENT-1698
>
> Ex [https://[2001:db8::2:1]:443/example|https://[2001:db8::2:1]/example], IPV6 host = [[2001:db8::2:1]|https://[2001:db8::2:1]/example]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org