url-normalize-url

url-normalize-url is an autoloaded compiled Lisp function in `url-util.el'.

(url-normalize-url URL)

Return a 'normalized' version of URL.
Strips out default port numbers, etc.