[issue45358] Bogus cookie generated after invalid cookie attribute is input

2021-10-03 Thread greob
New submission from greob : Youtube sends cookies with some non-standard attributes. For example: ``` Secure-1PSID=XX; Domain=.youtube.com; Path=/; Expires=Tue, 03-Oct-2023 16:26:27 GMT; Secure; HttpOnly; Priority=HIGH; SameParty ``` Notice the Priority and SameParty attributes. In the

[issue45358] Bogus cookie generated after invalid cookie attribute is input

2021-10-04 Thread greob
Change by greob : -- keywords: +patch pull_requests: +27072 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28726 ___ Python tracker <https://bugs.python.org/issu