summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-04-17 09:34:16 -0700
committerKevin McCarthy <kevin@8t8.us>2021-04-17 09:34:16 -0700
commit36a704cfb9bf33ea0e76d91b60bca97450861cf3 (patch)
tree2d51f555c02597a5d5ac16836d4d566a30e88c01 /init.c
parent0684a051821283fc0af5f9b836b37a02720948a2 (diff)
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.
Diffstat (limited to 'init.c')
-rw-r--r--init.c7
1 files changed, 7 insertions, 0 deletions
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");