Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #36173 [Http Foundation] Fix clear cookie samesite (guillbdx)
This PR was squashed before being merged into the 3.4 branch. Discussion ---------- [Http Foundation] Fix clear cookie samesite | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #36107 | License | MIT With Chrome Update 80, Cookies are required to be `secure` and `samesite=none` for cross site requests. However they are defaulted to `samesite=lax` if the samesite attribute is not set. In other words: developer has to explicitely opt-in for `samesite=none` in the case of a cross site request. More details: https://chromestatus.com/feature/5088147346030592 We add the `samesite` argument to `clearCookie` method to allow developer to explicitely set this value. Commits ------- 4bdea1f [Http Foundation] Fix clear cookie samesite
- Loading branch information