[issue23341] Issue parsing valid cookie

2015-01-28 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> resolved superseder: -> cookies with square brackets in value ___ Python tracker ___ _

[issue23341] Issue parsing valid cookie

2015-01-28 Thread Dan LaMotte
Dan LaMotte added the comment: Yes, this is a duplicate of that bug. Sorry. -- status: open -> closed ___ Python tracker ___ ___ Pyth

[issue23341] Issue parsing valid cookie

2015-01-28 Thread R. David Murray
R. David Murray added the comment: This may be a duplicate of issue 22931. If so please add your comments there and close this one. -- nosy: +r.david.murray ___ Python tracker

[issue23341] Issue parsing valid cookie

2015-01-28 Thread Dan LaMotte
New submission from Dan LaMotte: I recently discovered that a valid cookie (by the RFC) is not parse-able by the Cookie library in python's standard library. import Cookie c = Cookie.SimpleCookie('key=[ab]cd[ef]') print c.keys() # yields [] When quoted, it works fine: c = Cookie.Simpl