Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] Fixed handling of CSRF logout error#36974

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@wouterj
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#36814
LicenseMIT
Doc PR-

8 years ago, a typo was made while refactoring theExceptionListener, loosing this logic (46071f3). I think we should fix it.

TheLogoutException is a very generic name for something only used when the CSRF token is invalid. Should we match the exception message to make sure only this CSRF error is transformed into 403? I didn't yet do it because any usage ofLogoutException would have resulted in 500, which always is worse than 403.

@wouterjwouterjforce-pushed theissue-36814/handle-logout-csrf-exception branch from6f61428 to69be9feCompareMay 26, 2020 15:25
@wouterjwouterjforce-pushed theissue-36814/handle-logout-csrf-exception branch from69be9fe to50348f2CompareMay 26, 2020 15:30
@chalasrchalasr added this to the3.4 milestoneMay 26, 2020
@chalasr
Copy link
Member

Thank you@wouterj.

wouterj reacted with rocket emoji

@chalasrchalasr merged commitce61bb0 intosymfony:3.4May 26, 2020
@wouterjwouterj deleted the issue-36814/handle-logout-csrf-exception branchMay 26, 2020 16:18
This was referencedMay 31, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@wouterj@chalasr@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp