aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsapiro <>2005-11-13 02:43:10 +0000
committermsapiro <>2005-11-13 02:43:10 +0000
commit4229d22bceb4f9c3811efe597112e6ac7d1a9626 (patch)
tree354a8d54ffd2b555582fe4b766301e36f29de46e
parenteca21be87f1dd2f0504f44f3e7392861b2fd986b (diff)
downloadmailman2-4229d22bceb4f9c3811efe597112e6ac7d1a9626.tar.gz
mailman2-4229d22bceb4f9c3811efe597112e6ac7d1a9626.tar.xz
mailman2-4229d22bceb4f9c3811efe597112e6ac7d1a9626.zip
Remove Approve: header as well as Approved:
-rw-r--r--Mailman/Handlers/Cleanse.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py
index 1f6bcb6f..b6e839bd 100644
--- a/Mailman/Handlers/Cleanse.py
+++ b/Mailman/Handlers/Cleanse.py
@@ -27,6 +27,8 @@ def process(mlist, msg, msgdata):
# this after the information on the header is actually used, but before a
# permanent record of the header is saved.
del msg['approved']
+ # Remove this one too.
+ del msg['approve']
# Also remove this header since it can contain a password
del msg['urgent']
# We remove other headers from anonymous lists