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

[7.1-stable] Use safe redirect paths in admin redirects #3135

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 7, 2025

Backport

This will backport the following commits from main to 7.1-stable:

Questions ?

Please refer to the Backport tool documentation

This makes sure we only redirect internally in the /admin routing context
and redirect to a given safe fallback location or the default admin route.

(cherry picked from commit b4e7ca4)
This makes sure all redirects we do in the admin via do_redirect_to uses a safe redirect url.

(cherry picked from commit 7adefce)

# Conflicts:
#	app/controllers/alchemy/admin/base_controller.rb
@tvdeyen tvdeyen merged commit 0001aa3 into 7.1-stable Jan 7, 2025
59 checks passed
@tvdeyen tvdeyen deleted the backport/7.1-stable/pr-3129 branch January 7, 2025 20:40
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.

1 participant