Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security][bugfix] "Remember me" cookie cleared on logout with custom "secure"/"httponly" config options [2] #14843

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

Conversation

MacDada
Copy link
Contributor

@MacDada MacDada commented Jun 3, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #14822
License MIT
Doc PR ~

MacDada added 2 commits June 3, 2015 01:58
…ut()

It does work for default values of "secure" and "httponly" options, but it would break if one customized those options.
symfony#14822
…y" options if they are set

* tests show that currently those options might not exist
* should not be considered BC?
* symfony#14822
@MacDada MacDada changed the title [Security][bugfix] "Remember me" cookie cleared on logout with all config options [2] [Security][bugfix] "Remember me" cookie cleared on logout with custom "secure"/"httponly" config options [2] Jun 3, 2015
@fabpot fabpot added the Security label Oct 5, 2015
@fabpot
Copy link
Member

fabpot commented Oct 5, 2015

Closing in favor of #14842

@fabpot fabpot closed this Oct 5, 2015
fabpot added a commit that referenced this pull request Oct 5, 2015
…with custom "secure"/"httponly" config options [1] (MacDada)

This PR was squashed before being merged into the 2.3 branch (closes #14842).

Discussion
----------

[Security][bugfix] "Remember me" cookie cleared on logout with custom "secure"/"httponly" config options [1]

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

* test now always pass "secure" and "httponly" options, as they are required
* could be considered BC, but [`RememberMeFactory` passes them](https://github.com/symfony/symfony/blob/2.3/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/RememberMeFactory.php#L21), so they should've always been treated as required
* I can squash the commits before merging
* Alternative solution: #14843

Commits
-------

18b1c6a [Security][bugfix] "Remember me" cookie cleared on logout with custom "secure"/"httponly" config options [1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants