ignore query params when comparing urls

this still doesn't handle things like `/some/url/?blah=1` (note the trailing `/`), but it does allow me to continue using this module!