GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — bpo-29613: Added support for SameSite cookies by alex · Pull Request #6413 · python/cpython Conversation
|
| setting them. | ||
|
|
||
| .. versionchanged:: 3.8 | ||
| Added support for :attr:`samesite` attribute. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
for the
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| in HTTP requests, and is not accessible through JavaScript. This is intended | ||
| to mitigate some forms of cross-site scripting. | ||
|
|
||
| The attribute :attr:`samesite` specifies that browser is not allowed to send the |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
"the browser"
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| to mitigate some forms of cross-site scripting. | ||
|
|
||
| The attribute :attr:`samesite` specifies that browser is not allowed to send the | ||
| cookie along with cross-site requests. This help to mitigate CSRF attacks. Valid |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
help -> helps
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| 'Set-Cookie: Customer="WILE_E_COYOTE"; HttpOnly; Secure') | ||
|
|
||
| def test_samesite_attrs(self): | ||
| samesite_values = ['Strict', 'Lax'] |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Might add tests for 'strict' and 'lax' as the values are case-insensitive from what I read.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! Feedback addressed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@akash0x53 I would encourage you to apply for a Google Patch Reward for your work on this: https://www.google.com/about/appsecurity/patch-rewards/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.