diff --git a/artemis/domains.py b/artemis/domains.py index 3b8e6d3b7..e194b3cce 100644 --- a/artemis/domains.py +++ b/artemis/domains.py @@ -5,7 +5,7 @@ def is_domain(candidate: str) -> bool: - result = validators.domain(candidate) + result = validators.domain(candidate, rfc_2782=True) # validators returns True if correct, else raisable Error obj if isinstance(result, validators.ValidationError): return False