assume canonical port if not specified in url

[#78778042]