summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/urllib.py2
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))