diff --git a/django/core/validators.py b/django/core/validators.py index d0851af545..ff9573b172 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -75,14 +75,14 @@ class DomainNameValidator(RegexValidator): # Max length for domain name labels is 63 characters per RFC 1034 sec. 3.1. domain_re = r"(?:\.(?!-)[a-z" + ul + r"0-9-]{1,63}(?