commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VALIDATOR-380) UrlValidator does not allow for optional port digits
Date Mon, 09 Nov 2015 17:38:10 GMT
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)

Mime
View raw message