[
https://issues.apache.org/jira/browse/VALIDATOR-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Hammond updated VALIDATOR-335:
------------------------------------
Attachment: IzLegit.java
I've attached a small test program, it can be chmod'd executable and run as a
script as-is, provided this classpath exists:
~/.m2/repository/commons-validator/commons-validator/1.4.0/commons-validator-1.4.0.jar
; or compiled and run normally.
> InetAddressValidator error for valid ipv6 address
> -------------------------------------------------
>
> Key: VALIDATOR-335
> URL: https://issues.apache.org/jira/browse/VALIDATOR-335
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.4.0 Release
> Reporter: Brian Hammond
> Attachments: IzLegit.java
>
>
> According to xxx, the ipv6 address "2001:0438:FFFE:0000:0000:0000:0000:0A35"
> is invalid, but InetAddress.getByName works fine, and it is pingable:
> {code}
> $ ping6 2001:0438:FFFE:0000:0000:0000:0000:0A35
> PING 2001:0438:FFFE:0000:0000:0000:0000:0A35(2001:438:fffe::a35) 56 data
> bytes
> 64 bytes from 2001:438:fffe::a35: icmp_seq=1 ttl=55 time=200 ms
> 64 bytes from 2001:438:fffe::a35: icmp_seq=2 ttl=55 time=42.0 ms
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)