mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 09:20:15 +02:00
add strip
This commit is contained in:
parent
deabe3514b
commit
824be437fd
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ class DomainExport(BaseExport):
|
||||||
if (
|
if (
|
||||||
not security_contact_email
|
not security_contact_email
|
||||||
or not isinstance(security_contact_email, str)
|
or not isinstance(security_contact_email, str)
|
||||||
or security_contact_email.lower() in invalid_emails
|
or security_contact_email.lower().strip() in invalid_emails
|
||||||
):
|
):
|
||||||
security_contact_email = "(blank)"
|
security_contact_email = "(blank)"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue