url-normalize
url-normalize copied to clipboard
Wrong explicitly specified port normalization
Hi, nice normalizer, but in main example we see:
from url_normalize import url_normalize
print(url_normalize('www.foo.com:80/foo'))
https://www.foo.com/foo
But, wait a minute... HTTP port is 80 HTTPS port is 443 Normalize the explicitly specified ":80" port to "https://" is incorrect — it must be "http://"