[3.4] bpo-35647: Fix path check in cookiejar (GH-11436) by tirkarthi · Pull Request #12278 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@tirkarthi

Copy link Copy Markdown

Member

@tirkarthi tirkarthi commented

Mar 11, 2019

edited by bedevere-bot

Loading

Refactor cookie path check as per RFC 6265

(cherry picked from commit 0e1f1f0)

https://bugs.python.org/issue35647

* 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

(cherry picked from commit 0e1f1f0)

@bedevere-bot

Copy link Copy Markdown

@larryhastings: Please replace # with GH- in the commit message next time. Thanks!

@larryhastings

Copy link Copy Markdown

Contributor

Thanks for the backport!

@tirkarthi tirkarthi deleted the backport-0e1f1f0-3.4 branch

March 23, 2019 16:51

@tirkarthi tirkarthi restored the backport-0e1f1f0-3.4 branch

September 27, 2019 04:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

type-security

A security issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@tirkarthi @bedevere-bot @larryhastings @the-knights-who-say-ni