Only use valid_exact_redirect_target? for validating destinations
Only use valid_exact_redirect_target? for validating destinations

Don't use AbsolutePathValidator for non-exact (prefix) redirect
destinations. The destination is not interpreted differently based on
the redirect type, so don't validate it differently.

This will make the validator more permissive in the case of
destinations for prefix redirects, e.g. allowing fragments (the
motivation for this change).

alphagov/publishing-api,alphagov/publishing-api