Merge pull request #25200 from surajshetty3416/fix-email-validation
This commit is contained in:
commit
89db4ff1a6
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue