diff --git a/src/webutils.py b/src/webutils.py index 155f11b85..99efbeb8f 100644 --- a/src/webutils.py +++ b/src/webutils.py @@ -49,6 +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) REFUSED = 'Connection refused.' TIMED_OUT = 'Connection timed out.'