commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VALIDATOR-306) DomainValidator accepts labels longer than 63 chars and domain name lengths exceeding 255 chars
Date Mon, 05 Jan 2015 00:13:35 GMT

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

Sebb resolved VALIDATOR-306.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.1

URL: http://svn.apache.org/r1649446
Log:
VALIDATOR-306 - DomainValidator accepts labels longer than 63 chars and domain name lengths
exceeding 255 chars

Modified:
    commons/proper/validator/trunk/RELEASE-NOTES.txt
    commons/proper/validator/trunk/src/changes/changes.xml
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java


> DomainValidator accepts labels longer than 63 chars and domain name lengths exceeding
255 chars
> -----------------------------------------------------------------------------------------------
>
>                 Key: VALIDATOR-306
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-306
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>            Reporter: Jukka Timonen
>             Fix For: 1.4.1
>
>
> DomainValidator accepts labels longer than 63 chars and domain lengths that exceed 255
characters.
> Field max lengths are specified in http://www.ietf.org/rfc/rfc1034.txt section 3.
> Example string: 
> ssdfsdfsdsdfssdsdfsdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfssdfsdfsdsdfssdsdfss.com
> 1.3.1 crashes at least when called form EmailValidator
> current 1.4.1-SNAPSHOT thinks it's ok



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

Mime
View raw message