We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are getting a few of these:
We are redirecting to a generic request.referer which in Rails 7 is now an error since we are redirecting to an external URL.
request.referer
We should look into improving this logic. Either approvelist the possible URLs here or just allow this behavior via allow_other_host: true
allow_other_host: true
Maybe look into redirect_back_or_to method which might simplify this logic as well.
redirect_back_or_to
The text was updated successfully, but these errors were encountered:
#3419: Fix unsafe redirect errors by using allow_other_host
allow_other_host
7777a44
49ac0b3
Merge pull request #3429 from ualbertalib/fix-unsafe-redirect-errors
49f709e
#3419: Fix unsafe redirect errors by using `allow_other_host`
No branches or pull requests
We are getting a few of these:
We are redirecting to a generic
request.referer
which in Rails 7 is now an error since we are redirecting to an external URL.We should look into improving this logic. Either approvelist the possible URLs here or just allow this behavior via
allow_other_host: true
Maybe look into
redirect_back_or_to
method which might simplify this logic as well.The text was updated successfully, but these errors were encountered: