get redirects working again for cases where the target is inside of a form, and not in the URL query parameters