Merge pull request #25200 from surajshetty3416/fix-email-validation

This commit is contained in:
Suraj Shetty 2024-03-02 21:34:56 +05:30 committed by GitHub
commit 89db4ff1a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,6 +195,8 @@ def validate_email_address(email_str, throw=False):
out = []
for e in email_str.split(","):
if not e:
continue
email = _check(e.strip())
if email:
out.append(email)