navigator absolute url context doesn't correctly identify the host

if a remote host sends back a link header of /, the navigator fails to follow the link

in this case, window.location.host can be used