[issue23930] SimpleCookie doesn't parse comma-only separated cookies correctly

2015-10-22 Thread Kyle Graehl
Kyle Graehl added the comment: r"(\s+|;|$|,)" # Ending either at space, semicolon, or EOS. ( or comma...) I remember running into this same problem like 5 years ago. I added a comma as a valid regexp for ending the pattern, and removed it as a valid _LegalKeyChars I also think adding the "P

[issue23930] SimpleCookie doesn't parse comma-only separated cookies correctly

2015-04-17 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23930] SimpleCookie doesn't parse comma-only separated cookies correctly

2015-04-13 Thread Piotr
New submission from Piotr: Skype WISPr and iPassConnect (and maybe other bots) return cookies as a comma separated list. It's not a comma + space (which works). C = cookies.SimpleCookie() C.load('a=b,z=zz') >>> C['a'] I wonder what would those bots do if there was a comma in a cookie value.