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

Respect raise_on_open_redirects Rails 7.0+ config #146

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

skryukov
Copy link
Contributor

@skryukov skryukov commented Oct 29, 2024

This PR simplifies our redirect patching and makes redirect_back_or_to and redirect_back respect raise_on_open_redirects config which is set to true by default starting Rails 7.0

@skryukov skryukov changed the title Add support for redirect_back_or_to and respect raise_on_open_redirects config Respect raise_on_open_redirects Rails 7.0+ config Oct 29, 2024
@bknoles bknoles merged commit f3bcd99 into inertiajs:master Oct 30, 2024
9 checks passed
@skryukov skryukov deleted the support-redirect-back-or-to branch October 31, 2024 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants