-
Notifications
You must be signed in to change notification settings - Fork 204
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
parsing a list of addresses returns empty set if there is an invalid email #190
Comments
Passing comma separated string to |
The documented behavior and observed behavior differ. It would probably make sense to update the documentation that indicates this is totally reasonable and supported, similarly with the API reference that indicates that this is allowed. |
You are right, the documentation needs to be updated. The comma separated string parser used to work kind of ok, before support for UTF-8 addresses was added. At that point grama became too ambiguous because we needed to support not only RFC valid addresses but also addresses that are technically invalid but de-facto used on the Internet. That made it difficult to distinguish whether a comma is an address separator or a part of an address. |
I just stumpled upon such a case with an email from a law firm, where the From header looked like this:
Is it reasonable/possible to add a non strict mode to
|
The text was updated successfully, but these errors were encountered: