[issue37522] http.cookies.SimpleCookie doesn't seem to be parsed using regulars

2019-07-15 Thread SilentGhost
Change by SilentGhost : -- components: +Library (Lib) -Extension Modules versions: -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ _

[issue37522] http.cookies.SimpleCookie doesn't seem to be parsed using regulars

2019-07-15 Thread MeiK
Change by MeiK : -- keywords: +patch pull_requests: +14577 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14781 ___ Python tracker ___ ___

[issue37522] http.cookies.SimpleCookie doesn't seem to be parsed using regulars

2019-07-08 Thread MeiK
New submission from MeiK : In Python's built-in SimpleCookie[1], regular expressions are used to parse cookies, which seems to be a non-standard way. I looked at the RFC documentation related to cookie resolution: rfc2109[2] and rfc6265[3], the former has been replaced by the latter. These doc