diff options
author | Mark Sapiro <mark@msapiro.net> | 2017-02-03 22:20:11 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2017-02-03 22:20:11 -0800 |
commit | 78fb8983ae8873ba1ff0640e556eb61b88dba9a7 (patch) | |
tree | 72f1d6b9951993362840bb891c42e1f8246ca8a9 | |
parent | 5bd8d721b205a4b0d6ac3ef02f85353a32c678aa (diff) | |
download | mailman2-78fb8983ae8873ba1ff0640e556eb61b88dba9a7.tar.gz mailman2-78fb8983ae8873ba1ff0640e556eb61b88dba9a7.tar.xz mailman2-78fb8983ae8873ba1ff0640e556eb61b88dba9a7.zip |
Fixed a TypeError thrown in the roster CGI when called with a listname
containing a % character.
-rw-r--r-- | Mailman/Cgi/roster.py | 6 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Mailman/Cgi/roster.py b/Mailman/Cgi/roster.py index e9ab03c1..cb6847af 100644 --- a/Mailman/Cgi/roster.py +++ b/Mailman/Cgi/roster.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -141,8 +141,8 @@ def error_page(errmsg): print doc.Format() -def error_page_doc(doc, errmsg, *args): +def error_page_doc(doc, errmsg): # Produce a simple error-message page on stdout and exit. doc.SetTitle(_("Error")) doc.AddItem(Header(2, _("Error"))) - doc.AddItem(Bold(errmsg % args)) + doc.AddItem(Bold(errmsg)) @@ -26,6 +26,9 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - Fixed a TypeError thrown in the roster CGI when called with a listname + containing a % character. (LP: #1661810) + - Fixed a NameError issue in bin/add_members with DISABLE_COMMAND_LOCALE_CSET = yes. (LP: #1647450) |