aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mailman/Cgi/roster.py6
-rw-r--r--NEWS3
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))
diff --git a/NEWS b/NEWS
index 94602592..7d2498c3 100644
--- a/NEWS
+++ b/NEWS
@@ -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)