[issue44104] http.cookies.CookieError: Illegal key

2021-05-13 Thread ra1nb0w
ra1nb0w added the comment: Just another question: jaswdr, can you provide an example on how to filter out http.cookies.CookieError? thanks -- ___ Python tracker ___ _

[issue44104] http.cookies.CookieError: Illegal key

2021-05-12 Thread ra1nb0w
ra1nb0w added the comment: Thank you very much jaswdr for the clarification. Now I close this issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue44104] http.cookies.CookieError: Illegal key

2021-05-12 Thread Jonathan Schweder
Jonathan Schweder added the comment: Simple example to reproduce the issue: from http import cookies C = cookies.SimpleCookie() C["ys-api/mpegts/service"] = "blabla" print(C.output()) @ra1nb0w so far as I have found [1][2], the "/" not a valid character for the Cookie name, [3] defines the l

[issue44104] http.cookies.CookieError: Illegal key

2021-05-10 Thread ra1nb0w
New submission from ra1nb0w : The issue arises when there are multiple web applications using the same hostname and a "bad" cookie is stored; the first one (ex. tvheadend) sets a cookie like 'ys-api/mpegts/service=blabla' and the second is a python one that crash with the following: May 10 1