You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2015/01/13 21:02:41 UTC

[jira] [Closed] (VALIDATOR-306) DomainValidator accepts labels longer than 63 chars and domain name lengths exceeding 255 chars

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

Benedikt Ritter closed VALIDATOR-306.
-------------------------------------

> 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 Release
>
>
> 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)