Allow exact redirects to include query and fragments

The router now supports exact redirect targets that include a query
string or fragment, so we can now allow them here.