We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The validator returns True for inputs that violate URI rules.
In [15]: uri_reference('google.com/path').is_valid() Out[15]: True
In [27]: uri_reference('http://example.com:99999/').is_valid() Out[27]: True
The validator should reject missing schemes when a hostname is present and should reject port values greater than 65535.
is_valid() returns True for both invalid inputs.
Library version: Python version: Python 3.10.14 OS: Windows
Fix? :
The validator returns True for inputs that violate URI rules.
Examples:
Expected behavior:
The validator should reject missing schemes when a hostname is present
and should reject port values greater than 65535.
Actual behavior:
is_valid() returns True for both invalid inputs.
Steps to reproduce:
Environment:
Library version:
Python version: Python 3.10.14
OS: Windows
Fix? :