1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 16:42:07 +01:00
aerc/worker
Leszek Cimała e84e402e48 decode(RFC 2047) imap headers to fix encoding in subject & filenames
Me again,
this time fixing encoding of subjects and attachments. It was problem in
IMAP backend. While other backends user MessageInfo() function which
generates MessageInfo decoded via go-message methodes, IMAP worker is
creating MessageInfo directly, so all non-utf8 subjects and filenames
were in raw form.

This patch fixes it. Not sure if we should care about errors (if
DecodeHeader fails it returns raw string back).

>From what I see, this should solve all encoding problem (tested only
IMAP). So, now I can focus on features. ;-)

Have a great weekend!
Leszek
2019-12-07 14:30:33 -05:00
..
handlers
imap decode(RFC 2047) imap headers to fix encoding in subject & filenames 2019-12-07 14:30:33 -05:00
lib Parse Reply-To header while parsing envelope 2019-11-17 13:24:23 -05:00
maildir
notmuch Notmuch: be resilient to config errors 2019-11-01 11:02:01 -04:00
types
handler_notmuch.go
worker_enabled.go
worker.go