diff options
author | Xtreak <tir.karthi@gmail.com> | 2019-03-10 17:12:28 (GMT) |
---|---|---|
committer | Senthil Kumaran <skumaran@gatech.edu> | 2019-03-10 17:12:28 (GMT) |
commit | 0e1f1f01058bd4a9b98cfe443214adecc019a38c (patch) | |
tree | ee5abf47d4caaad17e3f936d75a075dc568915f3 /Misc | |
parent | 1aeeaeb79efa4de41f97b58547e23c2965ecabc5 (diff) | |
download | cpython-0e1f1f01058bd4a9b98cfe443214adecc019a38c.zip cpython-0e1f1f01058bd4a9b98cfe443214adecc019a38c.tar.gz cpython-0e1f1f01058bd4a9b98cfe443214adecc019a38c.tar.bz2 |
bpo-35647: Fix path check in cookiejar (#11436)
* Refactor cookie path check as per RFC 6265
* Add tests for prefix match of path
* Add news entry
* Fix set_ok_path and refactor tests
* Use slice for last letter
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-12-30-14-35-19.bpo-35121.oWmiGU.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-12-30-14-35-19.bpo-35121.oWmiGU.rst b/Misc/NEWS.d/next/Library/2018-12-30-14-35-19.bpo-35121.oWmiGU.rst new file mode 100644 index 0000000..032e1e2 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-12-30-14-35-19.bpo-35121.oWmiGU.rst @@ -0,0 +1,3 @@ +Don't set cookie for a request when the request path is a prefix match of +the cookie's path attribute but doesn't end with "/". Patch by Karthikeyan +Singaravelan. |