removed port from domain name qualification, fixes #7941

urlparse "netloc" includes ":port", not wanted for this function. This change fixes issue #7941