Use of SameSite=Strict#16386
Conversation
57175b2 to
5f66225
Compare
rajat315315
left a comment
There was a problem hiding this comment.
@MauricioFauth is it better now?
|
@MauricioFauth is it better? |
|
Just a request.. |
| 'domain' => '', | ||
| 'secure' => $this->isHttps(), | ||
| 'httponly' => $httponly, | ||
| 'samesite' => 'Strict', |
There was a problem hiding this comment.
I'm not really sure if it's a good idea to hard-code the Strict value. Maybe we could use a configuration directive and use Strict by default. What do you think @williamdes?
There was a problem hiding this comment.
I agree, this is a better idea.
All pull requests for this repository are valid for Hacktoberfest. Don't need to add the |
|
@rajat315315 Could you please fix the errors found by phpcs? |
1769389 to
87d9b1e
Compare
|
Done. |
87d9b1e to
c50151a
Compare
|
So, I have made |
|
Hi @rajat315315 |
|
Oh, ok.. got it! |
c50151a to
b28ae21
Compare
|
Is it better? |
MauricioFauth
left a comment
There was a problem hiding this comment.
You should add this configuration to the documentation as well.
b28ae21 to
65fa467
Compare
williamdes
left a comment
There was a problem hiding this comment.
LGTM for now, missing some documentation :)
|
Do I need to make changes to |
Yes, please this will solve
|
|
Done. |
65fa467 to
e502731
Compare
2499bfd to
1add2cc
Compare
1add2cc to
7dbec2a
Compare
Signed-off-by: Rajat Jain <rajatjain.ix@gmail.com> Update Config.php Polyfilled version fixes Signed-off-by: Rajat Jain <rajatjain.ix@gmail.com> Update libraries/classes/Config.php Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev> phpcs fixes samesite made as configuration directive bugfix, sets sameSite as global configuration directive CodeReviewed Changed config.rst IETF RFC link aded Version added Trailing whitespace fixed. RFC hyperlink added trailing whitespace
7dbec2a to
8e5d4d4
Compare
|
I improved the documentation with ce6bd5b |

Signed-off-by: Rajat Jain rajatjain.ix@gmail.com
Description
Added new cookie parameter SameSite=Strict.
Fixes #16316
Before submitting pull request, please review the following checklist:
Signed-off-byline as described in our DCO. This ensures that the work you're submitting is your own creation.