From 36a704cfb9bf33ea0e76d91b60bca97450861cf3 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sat, 17 Apr 2021 09:34:16 -0700 Subject: Add cc, in-reply-to, and references to default mailto_allow list. Thanks to Gregory Anders for the ticket and suggested patch, which this commit is based upon. --- init.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'init.c') diff --git a/init.c b/init.c index 32d563e7..2750e991 100644 --- a/init.c +++ b/init.c @@ -3816,6 +3816,13 @@ void mutt_init (int skip_sys_rc, LIST *commands) add_to_list(&MailtoAllow, "body"); add_to_list(&MailtoAllow, "subject"); + /* Allow a few other commonly used headers for mailing list + * software, and platforms such as Sourcehut. + */ + add_to_list(&MailtoAllow, "cc"); + add_to_list(&MailtoAllow, "in-reply-to"); + add_to_list(&MailtoAllow, "references"); + if (!Muttrc) { const char *xdg_cfg_home = getenv ("XDG_CONFIG_HOME"); -- cgit v1.2.3