[Pkg-mailman-hackers] Bug#903100: Fix mailman charset encoding in subscription confirmation request mails

bgrpt3 at toplitzer.net bgrpt3 at toplitzer.net
Fri Jul 6 08:18:34 BST 2018


Package: python-django-mailman3
Version: 1.1.0-4~bpo9+1
Severity: normal

Mailman does not encode the initial subscription confirmation mail.
All other UserNotification-instances are created with correct
language in place.


--- /usr/lib/python3/dist-packages/mailman/app/subscriptions.py.orig   
2018-07-06 08:15:20.926459595 +0200
+++ /usr/lib/python3/dist-packages/mailman/app/subscriptions.py        
2018-07-06 08:16:17.616854211 +0200
@@ -573,7 +573,7 @@ def _handle_confirmation_needed_events(e
         domain_name=event.mlist.domain.mail_host,
         contact_address=event.mlist.owner_address,
         ))
-    msg = UserNotification(email_address, confirm_address, subject, text)
+    msg = UserNotification(email_address, confirm_address, subject, text,
+                           event.mlist.preferred_language)
     msg.send(event.mlist, add_precedence=False)
 



More information about the Pkg-mailman-hackers mailing list