use nsIURI.specIgnoringRef where possible