From e7c1655bd7b752f90f5cdebf94213f193f267a57 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 2 May 2014 21:42:31 -0700 Subject: Removed HTML tags from the title of a couple of rmlist.py pages because browsers don't render tags in the title. (LP: #265848) --- Mailman/Cgi/rmlist.py | 4 ++-- NEWS | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Mailman/Cgi/rmlist.py b/Mailman/Cgi/rmlist.py index da802b99..db588121 100644 --- a/Mailman/Cgi/rmlist.py +++ b/Mailman/Cgi/rmlist.py @@ -62,7 +62,7 @@ def main(): # Avoid cross-site scripting attacks safelistname = Utils.websafe(listname) title = _('No such list %(safelistname)s') - doc.SetTitle(title) + doc.SetTitle(_('No such list %(safelistname)s')) doc.AddItem( Header(3, Bold(FontAttr(title, color='#ff0000', size='+2')))) @@ -188,7 +188,7 @@ def process_request(doc, cgidata, mlist): def request_deletion(doc, mlist, errmsg=None): realname = mlist.real_name title = _('Permanently remove mailing list %(realname)s') - doc.SetTitle(title) + doc.SetTitle(_('Permanently remove mailing list %(realname)s')) table = Table(border=0, width='100%') table.AddRow([Center(Bold(FontAttr(title, size='+1')))]) diff --git a/NEWS b/NEWS index adf3effc..24c155f0 100755 --- a/NEWS +++ b/NEWS @@ -52,6 +52,9 @@ Here is a history of user visible changes to Mailman. Bug Fixes and other patches + - Removed HTML tags from the title of a couple of rmlist.py pages because + browsers don't render tags in the title. (LP: #265848) + - Most Mailman generated notices to list owners and moderators are now sent as Precedence: list instead of bulk. (LP: #1313146) -- cgit v1.2.3