diff options
-rw-r--r-- | Mailman/Cgi/subscribe.py | 4 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py index f7b03ac6..0d10eb19 100644 --- a/Mailman/Cgi/subscribe.py +++ b/Mailman/Cgi/subscribe.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2011 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 @@ -109,7 +109,7 @@ def process_form(mlist, doc, cgidata, lang): results = [] # The email address being subscribed, required - email = cgidata.getvalue('email', '') + email = cgidata.getvalue('email', '').strip() if not email: results.append(_('You must supply a valid email address.')) @@ -38,6 +38,9 @@ Here is a history of user visible changes to Mailman. Bug Fixes and other patches + - Changed the subscribe CGI to strip leading and trailing whitespace from + the supplied email address. Bug #745432. + - Changed the maximum number of arguments for the who command to be considered administrivia from 2 to 1 to help avoid false positives. Bug #739524. |