From 5d5bc501d91845686dda0a4a85200c659316e38d Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Tue, 19 Jul 2016 12:23:32 -0700 Subject: Membership List letter links could be incorrectly rendered as Unicode. --- Mailman/Cgi/admin.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Mailman/Cgi') diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index 9ae661a8..41dc5cf1 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1010,6 +1010,9 @@ def membership_options(mlist, subcat, cgidata, doc, form): if regexp: findfrag = '&findmember=' + urllib.quote(regexp) url = adminurl + '/members?letter=' + letter + findfrag + if isinstance(url, unicode): + url = url.encode(Utils.GetCharSet(mlist.preferred_language), + errors='ignore') if letter == bucket: show = Bold('[%s]' % letter.upper()).Format() else: -- cgit v1.2.3