diff --git a/web/lib/validation.py b/web/lib/validation.py index c355e3d..13a89f7 100644 --- a/web/lib/validation.py +++ b/web/lib/validation.py @@ -39,7 +39,7 @@ def validate_hostname(data): if re.search(r'(\.-)|(-\.)', namepart): raise forms.ValidationError('Hostname contain ".-" or "-."') # Must not contain '--' except in 'xn--' for IDN - if re.search(r'(?