File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 4343- use row locking in MySQL newid() (sf bug 1034211)
4444- add sanity check for sort and group on same property (sf bug 1033477)
4545- extend OTK and session table value cols to TEXT (sf bug 1031271)
46+ - fix lookup of REMOTE_USER (sf bug 1002923)
4647
4748
48492004-07-21 0.7.6
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ Seb Brezel,
7474Titus Brown,
7575Godefroid Chapelle,
7676Roch'e Compaan,
77+ Wil Cooley,
7778Joe Cooper,
7879Kelley Dagley,
7980Paul F. Dubois,
Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.187 2004-08-02 22:41:12 richard Exp $
1+ # $Id: client.py,v 1.188 2004-10-07 23:13:11 richard Exp $
22
33"""WWW request handler (also used in the stand-alone server).
44"""
@@ -361,14 +361,12 @@ def determine_user(self):
361361 self .clean_sessions ()
362362 sessions = self .db .getSessionManager ()
363363
364- user = 'anonymous'
365-
366364 # first up, try the REMOTE_USER var (from HTTP Basic Auth handled
367365 # by a front-end HTTP server)
368- try :
369- user = os . getenv ( 'REMOTE_USER' )
370- except KeyError :
371- pass
366+ if self . env . has_key ( 'REMOTE_USER' ) :
367+ user = self . env [ 'REMOTE_USER' ]
368+ else :
369+ user = 'anonymous'
372370
373371 # look up the user session cookie (may override the REMOTE_USER)
374372 cookie = self .cookie
You can’t perform that action at this time.
0 commit comments