[New-bugs-announce] [issue11153] urllib2 basic auth parser handle unquoted realm in WWW-Authenticate header
Matthew M. Boedicker
report at bugs.python.org
Tue Feb 8 21:41:19 CET 2011
New submission from Matthew M. Boedicker <matthewm at boedicker.org>:
I am working with a web server that does not quote the realm in the WWW-Authenticate header.
This patch will make the realm parsing handle unquoted realm as well as some other invalid variations.
I tried doing it by modifying the regex only but could not get it to handle all cases.
components: Library (Lib)
title: urllib2 basic auth parser handle unquoted realm in WWW-Authenticate header
Added file: http://bugs.python.org/file20719/urllib2_unquoted_realm.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce