Allow numbers in domain name
This commit is contained in:
1 parent
6530edf887
commit
31566bf459
1 file changed
+1
-1
+1
-1
@@ -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 {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user