From fe5eb7fd476febbe69f68e3d08ca8fbaf25980f7 Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Thu, 10 Mar 2011 14:37:04 +0000 Subject: [PATCH] Add patch missed in previous commit. Also note that previous commit dropped MD5 from distinfo. Pointyhat to: wxs@ :( --- .../files/patch-Mailman__Cgi__confirm.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 mail/mailman/files/patch-Mailman__Cgi__confirm.py diff --git a/mail/mailman/files/patch-Mailman__Cgi__confirm.py b/mail/mailman/files/patch-Mailman__Cgi__confirm.py new file mode 100644 index 000000000000..a3faad2cf7ee --- /dev/null +++ b/mail/mailman/files/patch-Mailman__Cgi__confirm.py @@ -0,0 +1,29 @@ +--- ./Mailman/Cgi/confirm.py.orig 2010-09-20 14:18:27.000000000 -0400 ++++ ./Mailman/Cgi/confirm.py 2011-03-10 09:33:04.506813466 -0500 +@@ -471,7 +471,7 @@ + if fullname is None: + fullname = _('Not available') + else: +- fullname = Utils.uncanonstr(fullname, lang) ++ fullname = Utils.websafe(Utils.uncanonstr(fullname, lang)) + table.AddRow([_("""Your confirmation is required in order to complete the + unsubscription request from the mailing list %(listname)s. You + are currently subscribed with +@@ -573,7 +573,7 @@ + if fullname is None: + fullname = _('Not available') + else: +- fullname = Utils.uncanonstr(fullname, lang) ++ fullname = Utils.websafe(Utils.uncanonstr(fullname, lang)) + if globally: + globallys = _('globally') + else: +@@ -814,7 +814,7 @@ + if username is None: + username = _('not available') + else: +- username = Utils.uncanonstr(username, lang) ++ username = Utils.websafe(Utils.uncanonstr(username, lang)) + + table.AddRow([_("""Your membership in the %(realname)s mailing list is + currently disabled due to excessive bounces. Your confirmation is