You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/11/09 18:38:10 UTC
[jira] [Created] (VALIDATOR-380) UrlValidator does not allow for
optional port digits
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)