Allow numbers in domain name
This commit is contained in:
parent
6530edf887
commit
31566bf459
@ -40,7 +40,7 @@ def update_view(request):
|
|||||||
|
|
||||||
|
|
||||||
def load(file):
|
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):
|
if not os.path.isfile(file):
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user