[Patches] [ python-Patches-994595 ] HTTP basic authentication problem

SourceForge.net noreply at sourceforge.net
Mon Jul 26 14:19:02 CEST 2004


Patches item #994595, was opened at 2004-07-20 17:46
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=994595&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Catalin Marinas (c_marinas)
Assigned to: Nobody/Anonymous (nobody)
Summary: HTTP basic authentication problem

Initial Comment:
The regular expression matching in the
AbstractBasicAuthHandler.http_error_auth_reqed()
function in the urllib2 module doesn't work if the
authorization string returned by the server contains
one or more words in front of 'Basic realm="..."'. The
patch changes the rx.match() to rx.search().

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-07-26 14:19

Message:
Logged In: YES 
user_id=21627

Can you please give an example of a header that is not
correctly detected?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=994595&group_id=5470


More information about the Patches mailing list