From ab083c50ea7868603ea1e3c190f4e3a3ba34d576 Mon Sep 17 00:00:00 2001 From: kazet Date: Mon, 30 Oct 2023 08:07:56 +0100 Subject: [PATCH] allowing service domains (#594) --- artemis/domains.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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