function _canonicalize(url) {
        return PathUtils.parseUrl(url).hrefNoSearch;
    }
Create a canonicalized version of the given URL, stripping off query strings and hashes.
@param {string} url the URL to canonicalize
@return the canonicalized URL