Skip to content

[HttpFoundation] Test invalid cookie regeneration #46207

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 1 commit into from
Jul 21, 2022

Conversation

neclimdul
Copy link
Contributor

Asserts that validateId logic in AbstractSesssionHandler correctly protects against session fixation attempts by regenerating the session id.

Just some free test coverage. No fixes or features or any of that.

Q A
Branch? 6.1
Bug fix? no
New feature? no
Deprecations? no
Tickets no
License MIT

@neclimdul
Copy link
Contributor Author

Was trying to audit the code and couldn't find any code coverage for this so wrote something down to help me step through it. Figured it might be useful for a little extra code coverage and protection against regressions.

Asserts that validateId logic in AbstractSesssionHandler correctly protects
against session fixation attempts by regenerating the session id.
@neclimdul neclimdul force-pushed the session-fixation-test branch from eaf2ef2 to 70c96f8 Compare May 3, 2022 13:14
@fabpot fabpot modified the milestones: 6.1, 6.2 May 20, 2022
@fabpot
Copy link
Member

fabpot commented Jul 21, 2022

Thank you @neclimdul.

@fabpot fabpot merged commit 57e0785 into symfony:6.2 Jul 21, 2022
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.

3 participants