Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-306

DomainValidator accepts labels longer than 63 chars and domain name lengths exceeding 255 chars

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0 Release
    • 1.4.1 Release
    • Routines
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jtimonen Jukka Timonen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: