diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-11-18 15:36:41 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-11-18 15:36:41 (GMT) |
commit | daa29d01b749daa4843bcac80bd0067a827cfb8a (patch) | |
tree | 17725f0e7801121e5308a09b14d45d2b71bebb98 /Lib/urllib/parse.py | |
parent | d8b661dd908629b5fc0f50e3e0c5fc5c85f9cb72 (diff) | |
download | cpython-daa29d01b749daa4843bcac80bd0067a827cfb8a.zip cpython-daa29d01b749daa4843bcac80bd0067a827cfb8a.tar.gz cpython-daa29d01b749daa4843bcac80bd0067a827cfb8a.tar.bz2 |
Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy
Diffstat (limited to 'Lib/urllib/parse.py')
-rw-r--r-- | Lib/urllib/parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 38efd50..2ddd281 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -711,7 +711,7 @@ def splituser(host): _userprog = re.compile('^(.*)@(.*)$') match = _userprog.match(host) - if match: return map(unquote, match.group(1, 2)) + if match: return match.group(1, 2) return None, host _passwdprog = None |