diff options
author | milinnovations_andreas <milinnovations_andreas@milinnovations.com> | 2010-09-29 15:49:28 +0000 |
---|---|---|
committer | milinnovations_andreas <milinnovations_andreas@milinnovations.com> | 2010-09-29 15:49:28 +0000 |
commit | f0eedebcd92b89d7149523bf7242481caddbb74a (patch) | |
tree | 51380531679f4cd7906d3aa3c30514edabeb2847 /paste/auth | |
parent | ff4ed291d93736145a502ac21c8631a887aa500b (diff) | |
download | paste-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.py | 4 |
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'] |