From f790038fe6fc731752981b8ea5439ff48a349f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Zaj=C4=85c?= Date: Sun, 29 Oct 2023 18:51:33 +0100 Subject: [PATCH] allowing service domains --- 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