aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2010-07-27 10:14:17 -0700
committerMark Sapiro <mark@msapiro.net>2010-07-27 10:14:17 -0700
commite6b372f79cf7924721cee5cf69127b1d90dbcb1e (patch)
tree83c48ed6f406ed79c05676147b22d01d8e47aa96
parent5a30c580b29aa65a66cf9c1e9ff1b692717c664b (diff)
downloadmailman2-e6b372f79cf7924721cee5cf69127b1d90dbcb1e.tar.gz
mailman2-e6b372f79cf7924721cee5cf69127b1d90dbcb1e.tar.xz
mailman2-e6b372f79cf7924721cee5cf69127b1d90dbcb1e.zip
Changed the member options login page unsubscribe request to include the
requesters IP address in the confirmation request. Bug #610527.
-rw-r--r--Mailman/Cgi/options.py3
-rw-r--r--NEWS3
2 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py
index 454ac7a8..6841ae64 100644
--- a/Mailman/Cgi/options.py
+++ b/Mailman/Cgi/options.py
@@ -179,7 +179,8 @@ def main():
forwarded to the list administrator for approval."""),
tag='')
else:
- mlist.ConfirmUnsubscription(user, userlang)
+ ip = os.environ.get('REMOTE_ADDR')
+ mlist.ConfirmUnsubscription(user, userlang, remote=ip)
doc.addError(_('The confirmation email has been sent.'),
tag='')
mlist.Save()
diff --git a/NEWS b/NEWS
index 877c1c2b..faa9c4ea 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,9 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Changed the member options login page unsubscribe request to include the
+ requesters IP address in the confirmation request. Bug #610527.
+
- Changed fix_url to lock the list if not locked. Bug #610364.
- Made a minor change to the English subscribeack.txt (welcome message)