Sebb created VALIDATOR-380:
------------------------------

             Summary: UrlValidator does not allow for optional port digits
                 Key: VALIDATOR-380
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-380
             Project: Commons Validator
          Issue Type: Bug
            Reporter: Sebb
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to