#2475: Activate session_filter makes the quickstarted test_controllers tests 
fails
------------------------+---------------------------------------------------
 Reporter:  cdevienne   |        Owner:                  
     Type:  defect      |       Status:  new             
 Priority:  normal      |    Milestone:  __unclassified__
Component:  TurboGears  |      Version:  1.1 HEAD        
 Severity:  normal      |   Resolution:                  
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by cdevienne):

 Sorry for answering myself, but I found a way to fix the problem, by
 patching cherrypy...

 in cherrypy/_cphttptools.py, around at line 434 :

 432         if cookie:
 433             for line in cookie.split("\n"):
 434                 name, value = line.split(": ", 1)
 435                 self.header_list.append((name, value))

 with :

 432         if cookie:
 433             for line in cookie.split("\n"):
 434                 name, value = line.strip('\r').split(": ", 1)
 435                 self.header_list.append((name, value))

 solved the issue.

 Now I am not sure it is ideal, nor if we could make this go into a bugfix
 release of CherryPy.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2475#comment:1>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

-- 
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en

Reply via email to