#13194: Python 2.6.5 breaks Django test client's ability to store cookies ------------------------------------------------+--------------------------- Reporter: Oleksiy Solyanyk <so...@odesk.com> | Owner: nobody Status: new | Milestone: Component: Testing framework | Version: 1.1 Keywords: | Stage: Unreviewed Has_patch: 0 | ------------------------------------------------+--------------------------- After upgrading to Python 2.6.5, Django test client is storing malformed cookies, thus not allowing to test anything session-related
The error is relatively hard to track, as no exception is raised by DB session backend. File-based session backend raises {{{ SuspiciousOperation: Invalid characters (directory components) in session key }}} It looks like the error is caused by the change to Cookie module introduced here: http://svn.python.org/view/python/trunk/Lib/Cookie.py?r1=71029&r2=74647 Not sure if this change affects other libraries. -- Ticket URL: <http://code.djangoproject.com/ticket/13194> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.