You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2013/10/03 16:11:44 UTC

[jira] [Updated] (VALIDATOR-307) isValid checks if the given address is only IPV4 address and not IPV6

     [ https://issues.apache.org/jira/browse/VALIDATOR-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum updated VALIDATOR-307:
----------------------------------

    Attachment: VALIDATOR-307.patch

Attached patch add IPv6 validation. No unit tests.


> isValid checks if the given address is only IPV4 address and not IPV6
> ---------------------------------------------------------------------
>
>                 Key: VALIDATOR-307
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-307
>             Project: Commons Validator
>          Issue Type: Improvement
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>            Reporter: Senthil Kumar
>              Labels: ipv6, validation
>             Fix For: 1.4.1
>
>         Attachments: VALIDATOR-307.patch
>
>
> function isValid(String inetAddress) checks if the given address is only IPV4 and not IPV6. So the function returns false for a valid IPV6 address. Would it be possible to add IPV6 validation as well?



--
This message was sent by Atlassian JIRA
(v6.1#6144)