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

Issues/#218 parentheses in display name #223

Merged

Conversation

tararoshan
Copy link
Contributor

Motivation:

This addresses issue #218 where emails with display names in parentheses are not sent.

Conformance:

I have signed the Eclipse Contributor Agreement and noted that this is my GitHub account (tararoshan).

Thanks!

To ensure that the new code solves bug vert-x3#218 while still allowing
comments in the local part of the email to count as a valid email
address.
This fixes isse vert-x3#218, though there are still edge cases for valid
emails which won't be allowed (such as those with comments) or
invalid emails which will still be allowed
(eg. this"is"[email protected]). The best choice for accuracy would
be to add a parser, but this could slow down runtime. It may not
be a worthy sacrifice.
@gaol gaol added this to the 5.0.0 milestone Oct 29, 2024
@gaol
Copy link
Member

gaol commented Oct 29, 2024

LGTM!

@gaol gaol merged commit 2d3d568 into vert-x3:master Oct 29, 2024
4 checks passed
@gaol
Copy link
Member

gaol commented Oct 29, 2024

@tararoshan thanks

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

Successfully merging this pull request may close these issues.

EmailAddress class doesn't handle parentheses in the display name properly per RFC5322
2 participants