netty5/common
Nikolay Fedorovskikh af2f6fba31 IPv6 validation fixes
Motivation:

`NetUtil`'s methods `isValidIpV6Address` and `getIPv6ByName` incorrectly validate some IPv6 addresses.

Modifications:

- `getIPv6ByName`: add checks for single colon at the start or end.
- `isValidIpV6Address`: fix checks for the count of colons and use `endOffset` instead of `ipAddress.length()` for the cases with the brackets or '%'.

Result:

More correct implementation of `NetUtil#isValidIpV6Address` and `NetUtil#getIPv6ByName`.
2017-05-11 08:16:57 -07:00
..
src IPv6 validation fixes 2017-05-11 08:16:57 -07:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-05-11 12:26:35 +02:00