Alex Blume created VALIDATOR-339:
------------------------------------

             Summary: 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


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.2#6252)

Reply via email to