------------------------------------------------------------ revno: 1480 fixes bug: https://launchpad.net/bugs/265848 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Fri 2014-05-02 21:42:31 -0700 message: Removed HTML tags from the title of a couple of rmlist.py pages because browsers don't render tags in the title. (LP: #265848) modified: Mailman/Cgi/rmlist.py NEWS
-- lp:mailman/2.1 https://code.launchpad.net/~mailman-coders/mailman/2.1 Your team Mailman Checkins is subscribed to branch lp:mailman/2.1. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Cgi/rmlist.py' --- Mailman/Cgi/rmlist.py 2014-03-22 03:47:45 +0000 +++ Mailman/Cgi/rmlist.py 2014-05-03 04:42:31 +0000 @@ -62,7 +62,7 @@ # 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 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')))]) === modified file 'NEWS' --- NEWS 2014-05-03 03:26:03 +0000 +++ NEWS 2014-05-03 04:42:31 +0000 @@ -52,6 +52,9 @@ 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)
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org