admindb uses wrong language in subscription approval result page body

Bug #1777222 reported by Yasuhito FUTATSUKI at POEM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Mark Sapiro

Bug Description

If
* a list allows to use different language from list.preferred_language
* its policy requires admin approval for subscribes
* it set to send welcome message to new member
and admin approves subscription request of user who select his language different from list's on Web UI, the result page body of admindb uses charset of user's language while the header declare to use charset of the lists, thus causes 'Mojibake'.

I'm very sorry, but I have not read the code arround it yet, so I report symptom only right now.

Related branches

Revision history for this message
Yasuhito FUTATSUKI at POEM (futatuki) wrote :

This is caused by MailList.ApprovedAddMember(), which is not preserve translation object on sending welcome message by using Deliverer.SendSubscribeAck().

Revision history for this message
Mark Sapiro (msapiro) wrote :

Thank you very much for the report and patch.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Undecided → Medium
milestone: none → 2.1.27
status: New → Fix Committed
Mark Sapiro (msapiro)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.