1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-24 00:52:29 +01:00
aerc/worker
Ben Burwell eb0481b9cc Fix header decoding
Email headers can be encoded with different charsets, which is signalled
using a special character sequence. The go-message package provides two
different methods for accessing header values, Get(key) (actually
inherited from the embedded textproto.Header) which returns the raw
header value and Text(key), which returns the header's value decoded as
UTF-8.

Before, in the maildir backend, we were using the Get method which
sometimes resulted in encoded headers being displayed in the UI. This
patch replaces the incorrect usage of Get() with Text().
2019-07-17 15:58:15 -04:00
..
imap #190 Handle gmail duplicate folder 2019-07-11 19:38:40 -04:00
maildir Fix header decoding 2019-07-17 15:58:15 -04:00
types #190 Handle gmail duplicate folder 2019-07-11 19:38:40 -04:00
worker.go Add maildir backend worker 2019-07-12 11:09:50 -04:00