mirror of https://git.sr.ht/~rjarry/aerc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4f866e6894
Outlook.com is generating fairly long Message-IDs and using folding[0] to put the ID on a new line. This is resulting in the Message-ID to contain a leading white space, which is preventing `TrimPrefix` from removing the less than symbol. When replying the In-Reply-To header will then contain "< <message-id>" which is not desired and prevents email clients or lists form correctly associating the email replied to. For example lore.kernel.org[1]. Trimming tabs, newlines, and spaces from Message-ID resolves the issue. [0]: https://datatracker.ietf.org/doc/html/rfc822#section-3.1.1 [1]: https://lore.kernel.org/git/D4U1RWVWEW5D.2T853XSBO1FPA@swagemakers.org/#t Changelog-fixed: Remove unwanted less than symbol from In-Reply-To header when Message-ID uses folding. Signed-off-by: Julian Swagemakers <julian@swagemakers.org> Acked-by: Robin Jarry <robin@jarry.cc> |
2 weeks ago | |
---|---|---|
.. | ||
handlers | 1 year ago | |
imap | 2 weeks ago | |
jmap | 2 months ago | |
lib | 2 weeks ago | |
maildir | 2 months ago | |
mbox | 3 weeks ago | |
middleware | 3 months ago | |
notmuch | 2 weeks ago | |
types | 2 months ago | |
handler_notmuch.go | 3 years ago | |
worker.go | 2 years ago | |
worker_enabled.go | 1 year ago |