Changes between Initial Version and Version 1 of Ticket #2438, comment 1
- Timestamp:
- Jan 13, 2011, 9:58:11 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2438, comment 1
initial v1 1 1 A quick fix for this (for modpython at least) is doing something like this before loading the cookies: 2 3 4 5 6 7 2 {{{#!py 3 # Remove second instance of trac_auth 4 cookies = re.sub(r'(.*trac_auth.*); trac_auth=\w+', r'\1', 5 self.req.headers_in['Cookie']) 6 self.incookie.load(cookies) 7 }}} 8 8 This makes only the first trac_auth cookie to be used, which is the proper one based on the spec described here: 9 9