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

[HttpFoundation] Allow set 'None' on samesite cookie flag#31475

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
nicolas-grekas merged 1 commit intosymfony:3.4frommarkitosgv:patch-2
May 11, 2019

Conversation

@markitosgv
Copy link
Contributor

Allow set samesite cookie flag to 'None' value

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31467
LicenseMIT

Google introduces new Chrome policy, marking all none setted samesite flag to 'Strict' by default. If you want to allow third party cookies you must set samesite flag to None.

This PRfixes#31467, allow to put samesite Cookie flag to None.

Allow set samesite cookie flag to 'None' value
@markitosgvmarkitosgv changed the titleAllow set 'None' on samesite cookie flag[HttpFoundation] Allow set 'None' on samesite cookie flagMay 10, 2019
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneMay 11, 2019
@nicolas-grekas
Copy link
Member

Thank you@markitosgv.

@nicolas-grekasnicolas-grekas merged commit8bac3d6 intosymfony:3.4May 11, 2019
nicolas-grekas added a commit that referenced this pull requestMay 11, 2019
…(markitosgv)This PR was merged into the 3.4 branch.Discussion----------[HttpFoundation] Allow set 'None' on samesite cookie flagAllow set samesite cookie flag to 'None' value| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#31467| License       | MITGoogle introduces new Chrome policy, marking all none setted samesite flag to 'Strict' by default. If you want to allow third party cookies you must set samesite flag to None.This PRfixes#31467, allow to put samesite Cookie flag to None.Commits-------8bac3d6 Allow set 'None' on samesite cookie flag
This was referencedMay 22, 2019
MKodde added a commit to OpenConext/Stepup-AzureMFA that referenced this pull requestMar 10, 2020
The php session cookie should not have the samesite lax or strictsetting. As this would prevent the session cookie from being presentwhen the remote azure mfa idp sends back a SAML response.So it is set to the for now advisable 'none' setting. Combined with thesecure setting, this will be accepted by modern browsers.See:https://www.pivotaltracker.com/story/show/171721565symfony/symfony#31475
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas 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

@markitosgv@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp