Before checking host equivalency, make sure a url has a host