File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2525- fixed Boolean values in postgresql (sf bugs 972546 and 972600)
2626- fixed -g arg to roundup-server (sf bug 973946)
2727- better roundup-server usage string (sf bug 973352)
28+ - fixed REMOTE_USER (external HTTP Basic auth) (sf bug 977309)
2829
2930
30312004-06-10 0.7.4
Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.179 2004-06-15 09:19:49 a1s Exp $
1+ # $Id: client.py,v 1.180 2004-06-22 23:35:16 richard Exp $
22
33"""WWW request handler (also used in the stand-alone server).
44"""
@@ -364,6 +364,8 @@ def determine_user(self):
364364 self .clean_sessions ()
365365 sessions = self .db .getSessionManager ()
366366
367+ user = 'anonymous'
368+
367369 # first up, try the REMOTE_USER var (from HTTP Basic Auth handled
368370 # by a front-end HTTP server)
369371 try :
@@ -373,7 +375,6 @@ def determine_user(self):
373375
374376 # look up the user session cookie (may override the REMOTE_USER)
375377 cookie = self .cookie
376- user = 'anonymous'
377378 if (cookie .has_key (self .cookie_name ) and
378379 cookie [self .cookie_name ].value != 'deleted' ):
379380
You can’t perform that action at this time.
0 commit comments