resolve urlinfo.pathname