diff options
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r-- | Lib/urllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index d367dd8677..758ab925ca 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -968,7 +968,7 @@ def splituser(host): global _userprog if _userprog is None: import re - _userprog = re.compile('^([^@]*)@(.*)$') + _userprog = re.compile('^(.*)@(.*)$') match = _userprog.match(host) if match: return map(unquote, match.group(1, 2)) |