-
Notifications
You must be signed in to change notification settings - Fork 260
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
fix: double quote escape names with special characters #353
fix: double quote escape names with special characters #353
Conversation
In order to ensure compliance with the special characters clause in RFC5322, it is safest to enclose all to names in double quotes. The easiest place to do this is in NewEmail, but other tests need to be updated to expect double-quoted names as well.
Only names which are not already double-quoted are modified.
Names that don't require quoting, either because they are already quoted or because they don't contain any special characters shouldn't be modified.
Failed checks seem to be related exclusively to invalid |
Hello @haleyrc, In order for us to merge/review this we need a signed CLA. If you add an email address to your GitHub profile and try again, all should be good. Thanks! With Best Regards, Elmer |
@thinkingserious I've signed the CLA so hopefully everything is good to go from here. |
Could use this, just ran into this quietly 200ing and just not sending the email. |
The backend has been updated to properly handling names with special characters so the original "fix" is no longer needed. Reverts #353
The backend has been updated to properly handling names with special characters so the original "fix" is no longer needed. Reverts #353
Fixes
Fixes #352
Checklist
Short description of what this PR does:
mail.NewEmail
with double quotes to comply with RFC5322's section on special characters.If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.