commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VALIDATOR-339) URLValidator fails validating domain names with a trailing period, which are valid.
Date Mon, 05 Jan 2015 00:23:34 GMT

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

Sebb updated VALIDATOR-339:
---------------------------
    Component/s:     (was: Framework)
                 Routines

> URLValidator fails validating domain names with a trailing period, which are valid.
> -----------------------------------------------------------------------------------
>
>                 Key: VALIDATOR-339
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-339
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>            Reporter: Alex Blume
>         Attachments: validator-339.patch
>
>
> The Apache Commons class org.apache.commons.validator.routines.UrlValidator method isValid()
fails on URLS where the hostname has a trailing period, like "http://www.cnn.com./WORLD/?hpt=sitenav"
> A trailing period on the hostname part of the URL is valid according to http://www.dns-sd.org/TrailingDotsInDomainNames.html
and ANY URL I try does work successfully even when I put a trailing dot on the end of the
domain name.
> Can you add a fix in for this, so I can still use the URLValidator?
> Thanks,
> -Alex



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message