Skip to content

Return URLs saved into session are now sanitized #17220

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

Merged
merged 4 commits into from
May 5, 2025

Conversation

angrybrad
Copy link
Member

Make sure no PHP or HTML code can be saved to session when setting a returnUrl on a request.

Can be merged into Craft 5.

@brandonkelly brandonkelly merged commit e4c7bac into 4.x May 5, 2025
4 checks passed
@brandonkelly brandonkelly deleted the bugfix/clean-session-return-url branch May 5, 2025 18:34
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