Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add comma at the end of input if none is provided #1742

Open
wants to merge 1 commit into
base: 10.4.2
Choose a base branch
from

Conversation

nicholsk18
Copy link
Contributor

This is more or less a quick fix, but no validation if staff types in two emails without a comma in any of the 3 fields shown here. You can hit send and it will never send to anyone as far as I am aware. To headers are missing and no error anywhere. This adds a comma on space key if it is needed.

@jstanden
Copy link
Owner

@nicholsk18 Thanks! I can reproduce the issue with space-delimited email addresses in To/Cc/Bcc. I'll review the patch.

In validation, we can probably check the length of the the recipients in each field. If our parsed value is empty we'd also know something went wrong.

@jstanden jstanden added this to the Maintenance milestone Sep 16, 2023
@nicholsk18
Copy link
Contributor Author

Backend would be great to add, but I think for UX it be nice to have something in front end as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants