Issue 11153: urllib2 basic auth parser handle unquoted realm in WWW-Authenticate header (original ) (raw ) Issue11153
Created on 2011-02-08 20:41 by mmb , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
urllib2_unquoted_realm.diff
mmb,2011-02-08 20:41
patch to parse unquoted realm in auth header
Messages (3)
msg128190 - (view)
Author: Matthew M. Boedicker (mmb)
Date: 2011-02-08 20:41
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.
msg165131 - (view)
Author: Thomas Parslow (almost) *
Date: 2012-07-09 22:28
This is already fixed in the current code, unquoted realms are allowed with a warning.
msg165134 - (view)
Author: Senthil Kumaran (orsenthil) *
Date: 2012-07-09 22:56
Yes, this is fixed as part of
History
Date
User
Action
Args
2022-04-11 14:57:12
admin
set
github: 55362
2012-07-09 22:56:53
orsenthil
set
status: open -> closedresolution: duplicatemessages: + stage: resolved
2012-07-09 22:28:59
almost
set
nosy: + almost messages: +
2011-02-09 09:11:33
orsenthil
set
assignee: orsenthil nosy: + orsenthil
2011-02-08 20:42:45
mmb
set
type: behavior
2011-02-08 20:41:19
mmb
create