diff options
author | Kevin McCarthy <kevin@8t8.us> | 2021-04-17 09:34:16 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2021-04-17 09:34:16 -0700 |
commit | 36a704cfb9bf33ea0e76d91b60bca97450861cf3 (patch) | |
tree | 2d51f555c02597a5d5ac16836d4d566a30e88c01 /init.c | |
parent | 0684a051821283fc0af5f9b836b37a02720948a2 (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.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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"); |