aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2014-05-02 21:42:31 -0700
committerMark Sapiro <mark@msapiro.net>2014-05-02 21:42:31 -0700
commite7c1655bd7b752f90f5cdebf94213f193f267a57 (patch)
tree2713b092b4f7e90e62cafec25648e375c22e3f11
parentd8d784da666f6cd366f08a2a87bff73b3762e3fd (diff)
downloadmailman2-e7c1655bd7b752f90f5cdebf94213f193f267a57.tar.gz
mailman2-e7c1655bd7b752f90f5cdebf94213f193f267a57.tar.xz
mailman2-e7c1655bd7b752f90f5cdebf94213f193f267a57.zip
Removed HTML tags from the title of a couple of rmlist.py pages because
browsers don't render tags in the title. (LP: #265848)
-rw-r--r--Mailman/Cgi/rmlist.py4
-rwxr-xr-xNEWS3
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 <em>%(safelistname)s</em>')
- 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 <em>%(realname)s</em>')
- 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)