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

UrlValidator does not allow for optional port digits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      According to RFC 3986, the port number is defined as:
      port = *DIGIT
      This means 0 or more digits.
      If it required at least one digit then it would be:
      port = 1*DIGIT

      However the code requires at least one digit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: