[issue2988] Invalid cookies crash web applications

2012-08-30 Thread R. David Murray
R. David Murray added the comment: There is some extensive (and somewhat contentious) discussion of this on issue 2193. I myself am sympathetic to having a mode where parsing errors are handled in a more convenient fashion, but it would pretty much have to be a new feature. -- nosy:

[issue2988] Invalid cookies crash web applications

2012-08-30 Thread Shish
Shish added the comment: I'm having problems with this too -- a third party app on the same domain as me has set an invalid cookie, and now my app crashes horribly :( (And even if cherrypy handled the exception and didn't crash completely, it would still not be able to use any cookies) --

[issue2988] Invalid cookies crash web applications

2012-08-27 Thread Wichert Akkerman
Changes by Wichert Akkerman : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2988] Invalid cookies crash web applications

2012-08-27 Thread Wichert Akkerman
Wichert Akkerman added the comment: I do not agree that this is a fix. Effectively this means that if a user has a single cookie that SimpleCookie does not like a webapp can not use any cookie at all. Imho at a minimum there should be a way to tell SimpleCookie to ignore invalid cookies.

[issue2988] Invalid cookies crash web applications

2008-05-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I've added a note in the docs in r63781. In the spirit of "errors should never pass silently", this seems to me like the best thing to do. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed

[issue2988] Invalid cookies crash web applications

2008-05-28 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: Current BaseCookie and SimpleCookie may crash web-application when running on the same domain with other scripts. Other scripts may create invalid cookies that lead to Cookie.CookieError: Illegal key value in Python. This created problem