diff options
author | Mark Sapiro <mark@msapiro.net> | 2016-07-19 12:23:32 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2016-07-19 12:23:32 -0700 |
commit | 5d5bc501d91845686dda0a4a85200c659316e38d (patch) | |
tree | 321d1e71f6917804bb2349c7bd53df1ca5490bf4 /Mailman/Cgi | |
parent | b17234a23a590d9b27f3f609781596eea27b6974 (diff) | |
download | mailman2-5d5bc501d91845686dda0a4a85200c659316e38d.tar.gz mailman2-5d5bc501d91845686dda0a4a85200c659316e38d.tar.xz mailman2-5d5bc501d91845686dda0a4a85200c659316e38d.zip |
Membership List letter links could be incorrectly rendered as Unicode.
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r-- | Mailman/Cgi/admin.py | 3 |
1 files changed, 3 insertions, 0 deletions
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: |