[Python-checkins] python/dist/src/Lib urllib2.py,1.53.6.4,1.53.6.5 (original) (raw)
loewis at users.sourceforge.net loewis at users.sourceforge.net
Wed May 5 21:40:59 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Doc/tut tut.tex,1.226,1.227
- Next message: [Python-checkins] python/dist/src/Misc NEWS, 1.831.4.102, 1.831.4.103
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/python/python/dist/src/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5490/Lib
Modified Files: Tag: release23-maint urllib2.py Log Message: Patch #944110: Properly process empty passwords. Fixes #944082.
Index: urllib2.py
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v retrieving revision 1.53.6.4 retrieving revision 1.53.6.5 diff -C2 -d -r1.53.6.4 -r1.53.6.5 *** urllib2.py 15 Feb 2004 21🔞47 -0000 1.53.6.4 --- urllib2.py 6 May 2004 01:40:57 -0000 1.53.6.5
*** 640,644 **** def retry_http_basic_auth(self, host, req, realm): user,pw = self.passwd.find_user_password(realm, host) ! if pw: raw = "%s:%s" % (user, pw) auth = 'Basic %s' % base64.encodestring(raw).strip() --- 640,644 ---- def retry_http_basic_auth(self, host, req, realm): user,pw = self.passwd.find_user_password(realm, host) ! if pw is not None: raw = "%s:%s" % (user, pw) auth = 'Basic %s' % base64.encodestring(raw).strip()
- Previous message: [Python-checkins] python/dist/src/Doc/tut tut.tex,1.226,1.227
- Next message: [Python-checkins] python/dist/src/Misc NEWS, 1.831.4.102, 1.831.4.103
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]