[
https://issues.apache.org/jira/browse/VALIDATOR-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Poorak Kashyap updated VALIDATOR-339:
-------------------------------------
Attachment: validator-339.patch
> 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: Framework
> 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)