diff --git a/src/webutils.py b/src/webutils.py index 99efbeb8f..61dfa084c 100644 --- a/src/webutils.py +++ b/src/webutils.py @@ -49,7 +49,7 @@ class WebError(Exception): # XXX We should tighten this up a bit. urlRe = re.compile(r"(\w+://[^\])>\s]+)", re.I) -httpUrlRe = re.compile(r"https?://[^\])>\s]", re.I) +httpUrlRe = re.compile(r"(https?://[^\])>\s]+)", re.I) REFUSED = 'Connection refused.' TIMED_OUT = 'Connection timed out.'