Skip to content
New issue

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

Rails 7 redirect options #1755

Merged
merged 2 commits into from
Jan 17, 2023
Merged

Rails 7 redirect options #1755

merged 2 commits into from
Jan 17, 2023

Conversation

presidentbeef
Copy link
Owner

Intent of these changes:

  • If config.action_controller.raise_on_open_redirects is true, then for any redirect that looks dangerous:
    • If allow_other_host is not specified, no warning
    • If allow_other_host is true, low confidence warning
    • If allow_other_host is false, no warning

@presidentbeef presidentbeef merged commit 749b664 into main Jan 17, 2023
@presidentbeef presidentbeef deleted the rails7_redirects branch January 17, 2023 07:21
Repository owner locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant