diff options
author | Mark Sapiro <mark@msapiro.net> | 2010-04-09 13:17:07 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2010-04-09 13:17:07 -0700 |
commit | 1d66f60cb0223b549d87d9e300cea06596f379d5 (patch) | |
tree | 929c5f946f0051b7a91289f740c9df010fa25610 /Mailman/Handlers/Cleanse.py | |
parent | 65d46a5c05a73e1ec5e73229730b4d30cbae4647 (diff) | |
download | mailman2-1d66f60cb0223b549d87d9e300cea06596f379d5.tar.gz mailman2-1d66f60cb0223b549d87d9e300cea06596f379d5.tar.xz mailman2-1d66f60cb0223b549d87d9e300cea06596f379d5.zip |
We now accept/remove X-Approved: and X-Approve: headers in addition to
Approved: and Approve: for pre-approving posts. Bug ##557750.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/Cleanse.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py index b2c9611a..725cb41b 100644 --- a/Mailman/Handlers/Cleanse.py +++ b/Mailman/Handlers/Cleanse.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2010 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -33,6 +33,9 @@ def process(mlist, msg, msgdata): del msg['approved'] # Remove this one too. del msg['approve'] + # And these too. + del msg['x-approved'] + del msg['x-approve'] # Also remove this header since it can contain a password del msg['urgent'] # We remove other headers from anonymous lists |