-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
net/mail: parses invalid address #11293
Comments
This is probably the same issue:
but worth a separate test. |
One more:
|
What is wrong with |
It does not parse successfully in the second mail.ParseAddress call. Either first mail.ParseAddress or String corrupt it somehow, or it should not be parsed the first time as well. |
CL https://golang.org/cl/12905 mentions this issue. |
I uploaded a patch request for this issue... |
The following program fails with the panic:
I guess that address should have not been parsed in the first place.
go version devel +514014c Thu Jun 18 15:54:35 2015 +0200 linux/amd64
The text was updated successfully, but these errors were encountered: