#2438: Safari and multiple trac projects with different authentication
--------------------------------+-------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  jonas
     Type:  defect              |       Status:  new  
 Priority:  normal              |    Milestone:       
Component:  general             |      Version:  0.9  
 Severity:  normal              |   Resolution:       
 Keywords:                      |  
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 A quick fix for this (for modpython at least) is doing something like this
 before loading the cookies:

             # Remove second instance of trac_auth
             cookies = re.sub(r'(.*trac_auth.*); trac_auth=\w+', r'\1',
                 self.req.headers_in['Cookie'])
             self.incookie.load(cookies)

 This makes only the first trac_auth cookie to be used, which is the proper
 one based on the spec described here:

 http://wp.netscape.com/newsref/std/cookie_spec.html

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2438>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[EMAIL PROTECTED]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to