[Trac-tickets] Re: [The Trac Project] #2438: Safari and multiple
trac projects with different authentication
The Trac Project
noreply at edgewall.com
Sat Dec 3 23:03:47 CST 2005
#2438: Safari and multiple trac projects with different authentication
--------------------------------+-------------------------------------------
Reporter: valankar at gmail.com | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.9
Severity: normal | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by valankar at gmail.com):
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/>
More information about the Trac-Tickets
mailing list