Commit 6b937a53 authored by Sebastian Pipping's avatar Sebastian Pipping

Closes bug #1211


git-svn-id: https://svn.xiph.org/websites/validator.xspf.org@13261 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 6ce8e7a6
......@@ -177,8 +177,8 @@ elif form.has_key("url"): ### and form.has_key("submitUrl")
except ValueError:
intro = """<b style="color:red">Invalid URL.</b><br><br>"""
except urllib2.HTTPError:
# 404 or similar
except urllib2.URLError:
# 404, non-existent host, IPv6 (not supported), ...
intro = """<b style="color:red">Could not download from URL.</b><br><br>"""
if input != "":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment