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
For schemes that define a port, use an empty port if the default is desired
Since the placeholder scheme foo does not have a well-established default port, based on the above README excerpt I expect the snippet to print foo://localhost:1234/ and not crash.
The text was updated successfully, but these errors were encountered:
williamsjoblom
changed the title
Unexpected crash when using unknown URL scheme with explicit port
Crash when using unknown URL scheme with explicit port
Nov 23, 2022
When running the following snippet I get a
KeyError: 'foo'
innormalize_port
with url-normalize 1.4.3:README.md states the following:
Since the placeholder scheme
foo
does not have a well-established default port, based on the above README excerpt I expect the snippet to printfoo://localhost:1234/
and not crash.The text was updated successfully, but these errors were encountered: