New submission from Matthew M. Boedicker <matth...@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)
files: urllib2_unquoted_realm.diff
keywords: patch
messages: 128190
nosy: mmb
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to