summaryrefslogtreecommitdiff
path: root/Mailman/ListAdmin.py
diff options
context:
space:
mode:
authorbwarsaw2000-07-06 18:06:40 +0000
committerbwarsaw2000-07-06 18:06:40 +0000
commit71e126bbeff98e418f03b5cf0c7ddcbdc144fc19 (patch)
treee17ede7899e9a438fbb1f41fba2832fbb5046be4 /Mailman/ListAdmin.py
parent1c6715b79d8eec8bba56632cdf4d68d8e4c93668 (diff)
downloadmailman-71e126bbeff98e418f03b5cf0c7ddcbdc144fc19.tar.gz
mailman-71e126bbeff98e418f03b5cf0c7ddcbdc144fc19.tar.zst
mailman-71e126bbeff98e418f03b5cf0c7ddcbdc144fc19.zip
__handlepost(): Ricardo Kustner noticed that the forward feature was
broken. Set the message recips to a list to fix this. Fixes SF Bug #108215.
Diffstat (limited to 'Mailman/ListAdmin.py')
-rw-r--r--Mailman/ListAdmin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index 47da93c84..f5d0d657e 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -235,8 +235,8 @@ class ListAdmin:
# This should also uniquify the message enough for the hash-based
# file naming (not foolproof though).
msg['Resent-To'] = addr
- msg.recips = addr
- HandlerAPI.DeliverToUser(self, msg, {'_enqueue_immediate': 1})
+ HandlerAPI.DeliverToUser(self, msg, {'_enqueue_immediate': 1,
+ 'recips': [addr]})
# for safety
def strquote(s):
return string.replace(s, '%', '%%')