diff options
author | Ben Burwell <ben@benburwell.com> | 2019-12-30 09:41:32 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-30 15:31:16 -0500 |
commit | 0c9f59bad49d5b7073efd1acd7c0299a02b25509 (patch) | |
tree | 551faed07d2e5c4ba7dc08e5218878cbb9ada4d8 /lib/sort/sort.go | |
parent | b360cca977bdf29d19764712d97af22e9165e2d0 (diff) |
Handle MIME encoded addresses in address book
When addresses contain special characters, net/mail MIME-encodes them
to a valid RFC 5322 address for use in headers. However, these are not
pleasant for human consumption, so we decode them for use in the
completion list. Aerc properly encodes addresses when the message is
sent.
This patch also removes surrounding white space from contact names, if
present.
Diffstat (limited to 'lib/sort/sort.go')
0 files changed, 0 insertions, 0 deletions