From: Rocco Rutte Date: Thu, 11 Jun 2009 16:31:16 +0000 (+0200) Subject: Don't allow setting Return-Path: header via my_hdr X-Git-Tag: neomutt-20160307~587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00b78b91c91aa43951e791b5eac2051a3f864da6;p=neomutt Don't allow setting Return-Path: header via my_hdr Mutt has use_envelope_from/envelope_from_address for that purpose. Closes #1840. --- diff --git a/ChangeLog b/ChangeLog index 06cba4bc5..4453038d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-06-11 18:17 +0200 Rocco Rutte (8efc1cd0b8c0) + + * browser.c: Use only latest mtime of new/cur for browser, not whole + stat() info + +2009-06-11 18:14 +0200 Rocco Rutte (05f8c53b57a1) + + * ChangeLog, copy.c: Don't reformat Return-Path (angle brackets are + not optional). Closes #1702. + 2009-06-10 17:44 +0200 Rocco Rutte (0721c3f6320d) * mbox.c, mx.c: Only print messages about CONTEXT when quiet flag not diff --git a/send.c b/send.c index d42818c1f..96b2d5e4d 100644 --- a/send.c +++ b/send.c @@ -309,7 +309,8 @@ static void process_user_header (ENVELOPE *env) else if (ascii_strncasecmp ("to:", uh->data, 3) != 0 && ascii_strncasecmp ("cc:", uh->data, 3) != 0 && ascii_strncasecmp ("bcc:", uh->data, 4) != 0 && - ascii_strncasecmp ("subject:", uh->data, 8) != 0) + ascii_strncasecmp ("subject:", uh->data, 8) != 0 && + ascii_strncasecmp ("return-path:", uh->data, 12) != 0) { if (last) {