sahvx655-wq opened a new pull request, #379: URL: https://github.com/apache/commons-validator/pull/379
isValidInet6Address parses each hex group with Integer.parseInt(octet, 16), which tolerates a leading '+', so addresses like 1:2:3:4:5:6:7:+8, fe80::+1 and ::+f are accepted even though they are not valid IPv6 literals (JDK InetAddress.getByName rejects them); the '-' form is already caught by the existing octetInt < 0 check, so only '+' slips through. -- 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]
