Skip to content

Commit

Permalink
allowing service domains (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet authored Oct 30, 2023
1 parent fbb339d commit ab083c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artemis/domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab083c5

Please sign in to comment.