jira-importer opened a new issue, #1255: URL: https://github.com/apache/httpcomponents-core/issues/1255
**[Carter Kozak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ckozak)** opened **[HTTPCORE-674](https://issues.apache.org/jira/browse/HTTPCORE-674?redirect=false)** and commented This is a remaining piece of https://issues.apache.org/jira/browse/HTTPCORE-616 org.apache.hc.core5.net.InetAddressUtils: Parsing may fail when an IPv6 scope id might be provided. The following should likely succeed, but currently does not: ```java @Test public void testScopedIPv6Address() { Assert.assertTrue(InetAddressUtils.isIPv6Address("fe80::1ff:fe23:4567:890a")); Assert.assertTrue(InetAddressUtils.isIPv6Address("fe80::1ff:fe23:4567:890a%eth2")); Assert.assertTrue(InetAddressUtils.isIPv6Address("fe80::1ff:fe23:4567:890a%3")); } ``` This feature will impact parsing as well as detection, because as I understand it `fe80::1ff:fe23:4567:890a%eth2"` is URI encoded as `https://[fe80::1ff:fe23:4567:890a%25eth2]:443/` (note the `%` is percent-encoded to `%25`). This is based on a quick look at the ipv6 wiki page, I need to read though the current RFC guidance to verify the data I've provided is accurate. --- **Affects:** 5.1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
