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

fix: Logout controller allows open redirects (#3948) #4091

Merged
merged 2 commits into from
Oct 24, 2024
Merged

fix: Logout controller allows open redirects (#3948) #4091

merged 2 commits into from
Oct 24, 2024

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Oct 24, 2024

Ports #3948 to 2.x
Closes #3949

imorland and others added 2 commits October 24, 2024 18:39
* fix: prevent open redirects on logout controller

* use clearer config key

* cast url as string, reinstate guest redirect

* clean up a little

* simplify

* return Uri

* resolve ternary always true

* simplify some more

* remove extra newline

* handle malformed uri

* chore: requested changes
@SychO9 SychO9 requested a review from a team as a code owner October 24, 2024 17:39
@SychO9 SychO9 merged commit 3b66925 into 2.x Oct 24, 2024
25 checks passed
@SychO9 SychO9 deleted the sm/3949 branch October 24, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2.x] LogoutController permits open redirects
3 participants