You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uri_reference.is_valid() accepts invalid hostnames and out-of-range ports #138
Activity
woodruffw commentedon Jan 5, 2026
Note that RFC 3986 doesn't impose a limit on port numbers: from 3.2.3:
and from the top-level grammar:
(Curiously, this also permits an empty port, so
https://google.com:/pathis a valid URI according to RFC3986.)