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

failure to parse recipient value when the name is an e-mail address containing additional quotes #191

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romsahel
Copy link

@romsahel romsahel commented Mar 3, 2025

Found in production: an e-mail has the 'from' field with the following value:

""service@service.com" " <service@service.com>

which is incorrectly parsed into [email protected]\" instead of

Changes proposed in this pull request

  • Add test for reproducing the issue

…ontaining additional quotes

Found in production, an e-mail has the 'from' field with the following value:
```ex
""[email protected]" " <[email protected]>
````

which is incorrectly parsed into `[email protected]\"` instead of
```ex
{"\"[email protected]\"", "[email protected]"}
````
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.

1 participant