summaryrefslogtreecommitdiff
path: root/paste/auth
diff options
context:
space:
mode:
authormilinnovations_andreas <milinnovations_andreas@milinnovations.com>2010-09-29 15:49:28 +0000
committermilinnovations_andreas <milinnovations_andreas@milinnovations.com>2010-09-29 15:49:28 +0000
commitf0eedebcd92b89d7149523bf7242481caddbb74a (patch)
tree51380531679f4cd7906d3aa3c30514edabeb2847 /paste/auth
parentff4ed291d93736145a502ac21c8631a887aa500b (diff)
downloadpaste-f0eedebcd92b89d7149523bf7242481caddbb74a.tar.gz
Add fix to make digest auth with internet explorer 8 (and possibly other versions)
Diffstat (limited to 'paste/auth')
-rw-r--r--paste/auth/digest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/auth/digest.py b/paste/auth/digest.py
index 1b5ba84..483c38d 100644
--- a/paste/auth/digest.py
+++ b/paste/auth/digest.py
@@ -99,8 +99,8 @@ class AuthDigestAuthenticator(object):
if 'digest' != authmeth.lower():
return self.build_authentication()
amap = {}
- for itm in auth.split(", "):
- (k,v) = [s.strip() for s in itm.split("=", 1)]
+ for itm in auth.split(","):
+ (k,v) = [s.strip() for s in itm.strip().split("=", 1)]
amap[k] = v.replace('"', '')
try:
username = amap['username']