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

backendutil: FetchEnvelope doen't decode headers too #279

Closed
cnt0 opened this issue Jun 17, 2019 · 1 comment
Closed

backendutil: FetchEnvelope doen't decode headers too #279

cnt0 opened this issue Jun 17, 2019 · 1 comment

Comments

@cnt0
Copy link

cnt0 commented Jun 17, 2019

FetchEnvelope uses headerAddressList to parse address lists.
headerAddressList tries to use ParseAddressList from net/mail, but this function knows almost nothing about charsets. So in cases like this one

From: =?ISO-8859-15?B?TWl0c3VoYSBNaXlhbWl6dQ==?= <mitsuha.miyamizu@example.org>

the result is just an empty slice, and there's no way to recover the information

@emersion
Copy link
Owner

emersion commented Apr 4, 2023

Closing because this is an issue about go-imap v1. I'm now focusing on go-imap v2.

Please re-open if you can reproduce with go-imap v2.

@emersion emersion closed this as completed Apr 4, 2023
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 a pull request may close this issue.

2 participants