| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Also add a What's New entry (Doc/whatsnew/3.15.rst).
Sorry, something went wrong.
|
Please avoid force-pushing. It makes incremental review harder. We squash-merge commits at the end. |
Sorry, something went wrong.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
I sure will, thanks for all your help! |
Sorry, something went wrong.
Co-authored-by: Senthil Kumaran <senthil@python.org>
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| * Allow ``"`` double quotes in cookie values with a more linient regex for | ||
| double-quoted strings. |
There was a problem hiding this comment.
Can we be more specific about what's changed than "a more lenient regex"? For example, do we now properly conform to an RFC/web specification? Are there restrictions that still exist on double-quoted strings?
| * Allow ``"`` double quotes in cookie values with a more linient regex for | |
| double-quoted strings. | |
| * Allow '``"``' double quotes in cookie values with a more lenient regex for | |
| double-quoted strings. |
Sorry, something went wrong.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| * Allow '``"``' double quotes in cookie values with a more lenient regex for | ||
| double-quoted strings. |
There was a problem hiding this comment.
| * Allow '``"``' double quotes in cookie values with a more lenient regex for | |
| double-quoted strings. | |
| * Allow '``"``' double quotes in cookie values with a more lenient regex for | |
| double-quoted strings by not explicitly excluding a quote inside the value part of a cookie. |
It's pretty similar to what was there before, just doesn't exclude the quotes: https://github.com/python/cpython/pull/113663/files#diff-e49aab1421911b035542d1a9221c31b8c74053f0e8b28f90f03af66177026176R429
Sorry, something went wrong.
There was a problem hiding this comment.
This is becoming little too detailed for a whatsnew item. Since it is both a bugfix and behavior change (ref #137566 (comment))
We could say - "Allow '"' double quotes in cookie values" or the existing detail is fine with me.
@AA-Turner, what is your suggestion here?
Sorry, something went wrong.
There was a problem hiding this comment.
Personally I'm a fan of the shorter
"Allow '"' double quotes in cookie values"
Sorry, something went wrong.
There was a problem hiding this comment.
I am good with the shorter version too. It is clear without confusing on the internal details like lenient regex (which the reader of whatsnew doc doesn't need to bother about) and if they really want they could refer to git log, bug report and other discussions.
Sorry, something went wrong.
|
LGTM. |
Sorry, something went wrong.
|
@orsenthil and everyone else, just wanted to say thanks for working with me on my first contribution to Python ❤️ |
Sorry, something went wrong.
…on#137566) * add versionchanged and example with quotes in cookie value * update whatsnew with http.cookies change * Update Doc/library/http.cookies.rst Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> * Update Doc/whatsnew/3.15.rst Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> * spelling, quote * demonstrate json * Update Doc/library/http.cookies.rst Co-authored-by: Senthil Kumaran <senthil@python.org> * Apply suggestions from code review Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * shorter description --------- Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Senthil Kumaran <senthil@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
#92936 (comment)
Updates http.cookie docs to reflect changes from #113663
📚 Documentation preview 📚: https://cpython-previews--137566.org.readthedocs.build/