]> granicus.if.org Git - python/commit
bpo-35647: Fix path check in cookiejar (#11436)
authorXtreak <tir.karthi@gmail.com>
Sun, 10 Mar 2019 17:12:28 +0000 (22:42 +0530)
committerSenthil Kumaran <skumaran@gatech.edu>
Sun, 10 Mar 2019 17:12:28 +0000 (10:12 -0700)
commit0e1f1f01058bd4a9b98cfe443214adecc019a38c
treeee5abf47d4caaad17e3f936d75a075dc568915f3
parent1aeeaeb79efa4de41f97b58547e23c2965ecabc5
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
Lib/http/cookiejar.py
Lib/test/test_http_cookiejar.py
Misc/NEWS.d/next/Library/2018-12-30-14-35-19.bpo-35121.oWmiGU.rst [new file with mode: 0644]