commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Crum (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VALIDATOR-307) isValid checks if the given address is only IPV4 address and not IPV6
Date Thu, 03 Oct 2013 14:11:44 GMT

     [ 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)

Mime
View raw message