[Python-checkins] python/dist/src/Lib urllib2.py,1.53.6.6,1.53.6.7
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Tue Aug 3 15:00:54 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14764/Lib
Modified Files:
Tag: release23-maint
urllib2.py
Log Message:
Patch #994595: Recognize Basic auth even if other schemes are offered.
Index: urllib2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v
retrieving revision 1.53.6.6
retrieving revision 1.53.6.7
diff -C2 -d -r1.53.6.6 -r1.53.6.7
*** urllib2.py 10 May 2004 00:32:34 -0000 1.53.6.6
--- urllib2.py 3 Aug 2004 13:00:51 -0000 1.53.6.7
***************
*** 632,636 ****
authreq = headers.get(authreq, None)
if authreq:
! mo = AbstractBasicAuthHandler.rx.match(authreq)
if mo:
scheme, realm = mo.groups()
--- 632,636 ----
authreq = headers.get(authreq, None)
if authreq:
! mo = AbstractBasicAuthHandler.rx.search(authreq)
if mo:
scheme, realm = mo.groups()
More information about the Python-checkins
mailing list