feat: add samesite cookie attribute to session cookie#38477
Merged
DeepDiver1975 merged 1 commit intomasterfrom Mar 9, 2021
Merged
feat: add samesite cookie attribute to session cookie#38477DeepDiver1975 merged 1 commit intomasterfrom
DeepDiver1975 merged 1 commit intomasterfrom
Conversation
DeepDiver1975
requested changes
Mar 8, 2021
Member
DeepDiver1975
left a comment
There was a problem hiding this comment.
- conflict
- drone :red:
- please explain why this is necessary - usage scenario- THX
bcc872e to
fea786a
Compare
Contributor
|
|
Contributor
Author
thanks @mmattel, i updated the pr |
Contributor
Author
i updated "Motivation and Context" |
Contributor
Author
i like to keep the history, anyway done |
update config.sample.php to use uppercase http.cookie.samesite attribute reference pr in changelog
f2f7f8d to
c30ec4b
Compare
|
Kudos, SonarCloud Quality Gate passed! |
Member
we always squash before merge |
DeepDiver1975
approved these changes
Mar 9, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
to decrypt oc_sessionPassphrase we need to have the session cookie samesite attribute to be set the same
Related Issue
Motivation and Context
the passphrase cookie should have the same samesite attribute as the oc_sessionPassphrase cookie. If they are different it's not possible to decrypt oc_sessionPassphrase in cases like a iframe because the passphrase then is unknown.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: