mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-30 18:57:18 +00:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user