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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Gary D. Gregory (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

Gary D. Gregory (Jira)

    [ https://issues.apache.org/jira/browse/VALIDATOR-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226023#comment-13226023 ]

Simone Tripodi commented on VALIDATOR-306:
------------------------------------------

did you try to test it against 1.4.0, that is the lates released?
TIA
               

> 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

       
Reply | Threaded
Open this post in threaded view
|

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

Gary D. Gregory (Jira)
In reply to this post by Gary D. Gregory (Jira)

    [ https://issues.apache.org/jira/browse/VALIDATOR-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226027#comment-13226027 ]

Jukka Timonen commented on VALIDATOR-306:
-----------------------------------------

yep, tested also with 1.4.0
               

> 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

       
Reply | Threaded
Open this post in threaded view
|

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

Gary D. Gregory (Jira)
In reply to this post by Gary D. Gregory (Jira)

    [ https://issues.apache.org/jira/browse/VALIDATOR-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226033#comment-13226033 ]

Simone Tripodi commented on VALIDATOR-306:
------------------------------------------

OK, ack - can you provide a testcase with a fix proposal please? TIA!
               

> 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