[Patches] [ python-Patches-994595 ] HTTP basic authentication
problem
SourceForge.net
noreply at sourceforge.net
Tue Jul 27 10:37:59 CEST 2004
Patches item #994595, was opened at 2004-07-20 16:46
Message generated for change (Comment added) made by c_marinas
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: Catalin Marinas (c_marinas)
Date: 2004-07-27 09:37
Message:
Logged In: YES
user_id=82327
I was trying to access a MS Exchange web mail account
through their Outlook Web Access (WebDAV) interface but
could not authenticate. The authorisation header returned by
the the server is: 'Negotiate, NTLM, Basic realm="..."'.
I don't know wheather the MS server complies with any
standard, but the patch solved my problem.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2004-07-26 13: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