See ChangeLog

Monotone-Parent: 8260a03656dcb7042c36f5ed015c0e1691560468
Monotone-Revision: 11c5eefb2d127036af170d47dc0f555860e8c38a

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-10-05T19:15:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-10-05 19:15:14 +00:00
parent 3e7278ba0e
commit 5e342d5e99
6 changed files with 205 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class HTTPUnparsedURL:
url_parts = url.split("?")
alpha_match = "[a-zA-Z0-9%\._-]+"
num_match = "[0-9]+"
pattern = ("((%s)://(((%s)(:(%s)?)@)?(%s)(:(%s))))?(/.*)"
pattern = ("((%s)://(((%s)(:(%s))?@)?(%s)(:(%s))?))?(/.*)"
% (alpha_match, alpha_match, alpha_match,
alpha_match, num_match))
url_re = re.compile(pattern)