Skip to content

[HttpFoundation] Always call proxied handler::destroy() in StrictSessionHandler #25731

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
Jan 10, 2018

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jan 9, 2018

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Noticed by @jpauli: the native file session handler needs a call to destroy() to remove session files, even for new empty sessions.

@nicolas-grekas nicolas-grekas force-pushed the fix-native-session-destroy branch from c4d09b0 to e5e2d5d Compare January 9, 2018 16:32
@fabpot
Copy link
Member

fabpot commented Jan 10, 2018

Thank you @nicolas-grekas.

@fabpot fabpot merged commit e5e2d5d into symfony:3.4 Jan 10, 2018
fabpot added a commit that referenced this pull request Jan 10, 2018
… StrictSessionHandler (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[HttpFoundation] Always call proxied handler::destroy() in StrictSessionHandler

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Noticed by @jpauli: the native file session handler needs a call to `destroy()` to remove session files, even for new empty sessions.

Commits
-------

e5e2d5d [HttpFoundation] Always call proxied handler::destroy() in StrictSessionHandler
This was referenced Jan 29, 2018
@nicolas-grekas nicolas-grekas deleted the fix-native-session-destroy branch February 19, 2018 10:35
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