Open
Description
According to RFC 3986, there are some ABNF rules:
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / ".")
And I tried:
>>> from rfc3986 import is_valid_uri
>>> is_valid_uri("1")
True
>>> is_valid_uri("//")
True
>>> is_valid_uri("http#:/")
True
I think these results are not correct.
Metadata
Metadata
Assignees
Labels
No labels