You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rolando Lopez (JIRA)" <ji...@apache.org> on 2012/10/05 20:18:03 UTC
[jira] [Created] (VALIDATOR-310) Malformed URL with domain name
starting with period '.' returns true for isValid method
Rolando Lopez created VALIDATOR-310:
---------------------------------------
Summary: Malformed URL with domain name starting with period '.' returns true for isValid method
Key: VALIDATOR-310
URL: https://issues.apache.org/jira/browse/VALIDATOR-310
Project: Commons Validator
Issue Type: Bug
Components: Routines
Affects Versions: 1.4.0 Release
Environment: Java 1.6
Reporter: Rolando Lopez
Fix For: 1.4.0 Release
UrlValidator.isValid("http://.sample.org") returns true but domain names must not start with a '.'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (VALIDATOR-310) Malformed URL with domain name
starting with period '.' returns true for isValid method
Posted by "Rolando Lopez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VALIDATOR-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470533#comment-13470533 ]
Rolando Lopez commented on VALIDATOR-310:
-----------------------------------------
My mistake. I was calling another validator, this is NOT a bug of this project. Closing.
> Malformed URL with domain name starting with period '.' returns true for isValid method
> ---------------------------------------------------------------------------------------
>
> Key: VALIDATOR-310
> URL: https://issues.apache.org/jira/browse/VALIDATOR-310
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.4.0 Release
> Environment: Java 1.6
> Reporter: Rolando Lopez
> Labels: bug, url, urlvalidator
> Fix For: 1.4.0 Release
>
>
> UrlValidator.isValid("http://.sample.org") returns true but domain names must not start with a '.'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (VALIDATOR-310) Malformed URL with domain name
starting with period '.' returns true for isValid method
Posted by "Rolando Lopez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VALIDATOR-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rolando Lopez closed VALIDATOR-310.
-----------------------------------
Resolution: Not A Problem
See comments section. This is not a problem in the UrlValidator class.
> Malformed URL with domain name starting with period '.' returns true for isValid method
> ---------------------------------------------------------------------------------------
>
> Key: VALIDATOR-310
> URL: https://issues.apache.org/jira/browse/VALIDATOR-310
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.4.0 Release
> Environment: Java 1.6
> Reporter: Rolando Lopez
> Labels: bug, url, urlvalidator
> Fix For: 1.4.0 Release
>
>
> UrlValidator.isValid("http://.sample.org") returns true but domain names must not start with a '.'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira