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\Http] Fix handlingsecure: auto using the new RememberMeAuthenticator#41254

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

@chalasr
Copy link
Member

QA
Branch?5.x
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

The created cookie was always secure when usingauto because of some missing config normalization that should have been copied from the legacy rememberme implementation.

@chalasrchalasr requested a review fromwouterj as acode ownerMay 17, 2021 15:39
@chalasrchalasr changed the title[Security\Http] Fix handlingsecure: auto using the new RememberMeA…[Security\Http] Fix handlingsecure: auto using the new RememberMeAuthenticatorMay 17, 2021

if ('auto' ===$config['secure']) {
$config['secure'] =null;
}
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Here is the corresponding logic from the old implementation:

if ('auto' ===$mergedOptions['secure']) {
$mergedOptions['secure'] =null;
}

It is needed for:

@chalasrchalasrforce-pushed thefix-rememberme-secure-auto branch from4333d0b to3fdc154CompareMay 17, 2021 15:54
@nicolas-grekasnicolas-grekas added this to the5.3 milestoneMay 18, 2021
@nicolas-grekas
Copy link
Member

Thank you@chalasr.

@nicolas-grekasnicolas-grekas merged commit4382181 intosymfony:5.xMay 18, 2021
@chalasrchalasr deleted the fix-rememberme-secure-auto branchMay 18, 2021 09:01
@fabpotfabpot mentioned this pull requestMay 19, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@wouterjwouterjAwaiting requested review from wouterj

Assignees

No one assigned

Projects

None yet

Milestone

5.3

Development

Successfully merging this pull request may close these issues.

3 participants

@chalasr@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp