commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Timonen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VALIDATOR-306) DomainValidator accepts labels longer than 63 chars and domain name lengths exceeding 255 chars
Date Fri, 09 Mar 2012 11:14:59 GMT
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.1
            Reporter: Jukka Timonen


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message