diff --git a/bifrost/views.py b/bifrost/views.py index 882ba83..0b5ad9c 100644 --- a/bifrost/views.py +++ b/bifrost/views.py @@ -40,7 +40,7 @@ def update_view(request): def load(file): - exp = re.compile(r"^([a-z.]+):([0-9]{1,3}(?:\.[0-9]{1,3}){3})$", re.I) + exp = re.compile(r"^([a-z1-9.]+):([0-9]{1,3}(?:\.[0-9]{1,3}){3})$", re.I) if not os.path.isfile(file): return {}