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
avoid unnecessary number parsing in canonicalize_port.
In the final step of the function, we merely validate that it is a port
number. But this does not work require parsing the port.
E.g., any port string with 3 or 4 characters (like 8001) is obviously
valid as long as it does not start with 0.
0 commit comments