Strip Injection-* headers before superseding.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 30 Sep 2010 21:14:36 +0000 (23:14 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 30 Sep 2010 21:14:36 +0000 (23:14 +0200)
Teemu Likonen  <tlikonen@iki.fi>

lisp/ChangeLog
lisp/message.el

index aa6f2c9..ece6132 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-30  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
+
+       * message.el (message-ignored-supersedes-headers): Strip Injection-*
+       headers before superseding.
+
 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnrss.el (nnrss-use-local): Add documentation.
index e30fe16..bd8baca 100644 (file)
@@ -287,7 +287,7 @@ This is a list of regexps and regexp matches."
   :link '(custom-manual "(message)Mail Headers")
   :type 'regexp)
 
-(defcustom message-ignored-supersedes-headers "^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|^X-Trace:\\|^X-ID:\\|^X-Complaints-To:\\|Return-Path:\\|^Supersedes:\\|^NNTP-Posting-Date:\\|^X-Trace:\\|^X-Complaints-To:\\|^Cancel-Lock:\\|^Cancel-Key:\\|^X-Hashcash:\\|^X-Payment:\\|^Approved:"
+(defcustom message-ignored-supersedes-headers "^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|^X-Trace:\\|^X-ID:\\|^X-Complaints-To:\\|Return-Path:\\|^Supersedes:\\|^NNTP-Posting-Date:\\|^X-Trace:\\|^X-Complaints-To:\\|^Cancel-Lock:\\|^Cancel-Key:\\|^X-Hashcash:\\|^X-Payment:\\|^Approved:\\|^Injection-Date:\\|^Injection-Info:"
   "*Header lines matching this regexp will be deleted before posting.
 It's best to delete old Path and Date headers before posting to avoid
 any confusion."