summaryrefslogtreecommitdiffstats
path: root/Lib/urllib.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2009-03-30 21:51:50 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2009-03-30 21:51:50 (GMT)
commit5e95e763e1ba51b9bd4153aa016099e183b05434 (patch)
tree7014625e7ad52f519804a78ee29588ab04711981 /Lib/urllib.py
parente7c9e092b3d339718b0794f6a593a5032b6b9fb5 (diff)
downloadcpython-5e95e763e1ba51b9bd4153aa016099e183b05434.zip
cpython-5e95e763e1ba51b9bd4153aa016099e183b05434.tar.gz
cpython-5e95e763e1ba51b9bd4153aa016099e183b05434.tar.bz2
Fix for bugs: Issue4675 and Issue4962.
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r--Lib/urllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 0594dc8..1ac997e 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -1073,7 +1073,7 @@ def splitpasswd(user):
global _passwdprog
if _passwdprog is None:
import re
- _passwdprog = re.compile('^([^:]*):(.*)$')
+ _passwdprog = re.compile('^([^:]*):(.*)$',re.S)
match = _passwdprog.match(user)
if match: return match.group(1, 2)