summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-03-10 17:12:28 (GMT)
committerSenthil Kumaran <skumaran@gatech.edu>2019-03-10 17:12:28 (GMT)
commit0e1f1f01058bd4a9b98cfe443214adecc019a38c (patch)
treeee5abf47d4caaad17e3f936d75a075dc568915f3 /Misc
parent1aeeaeb79efa4de41f97b58547e23c2965ecabc5 (diff)
downloadcpython-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.rst3
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.