------------------------------------------------------------ revno: 1285 committer: Mark Sapiro <msap...@value.net> branch nick: 2.1 timestamp: Tue 2011-03-29 20:33:24 -0700 message: Changed the subscribe CGI to strip leading and trailing whitespace from the supplied email address. Bug #745432. modified: Mailman/Cgi/subscribe.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/subscribe.py' --- Mailman/Cgi/subscribe.py 2010-03-29 20:48:11 +0000 +++ Mailman/Cgi/subscribe.py 2011-03-30 03:33:24 +0000 @@ -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 @@ 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.')) === modified file 'NEWS' --- NEWS 2011-03-21 20:40:40 +0000 +++ NEWS 2011-03-30 03:33:24 +0000 @@ -38,6 +38,9 @@ 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.
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org