1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 08:32:12 +01:00
aerc/worker/imap
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
..
create.go #190 Handle gmail duplicate folder 2019-07-11 19:38:40 -04:00
fetch.go Factor IMAP-specific structs out of UI models 2019-07-08 16:06:28 -04:00
flags.go Use []uint32 instead of imap.SeqSet 2019-07-08 16:06:26 -04:00
imap.go decode(RFC 2047) imap headers to fix encoding in subject & filenames 2019-12-07 14:30:33 -05:00
list.go extract search criteria parsing into the backends 2019-08-29 08:44:10 +09:00
movecopy.go Use []uint32 instead of imap.SeqSet 2019-07-08 16:06:26 -04:00
open.go worker/imap: Fix seqMap race condition 2019-11-10 17:19:23 -05:00
search.go Change search flags 2019-09-20 15:06:54 -04:00
worker.go Fix: oauthbearer runtime error 2019-10-16 11:04:41 -04:00