------------------------------------------------------------
revno: 1256
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Tue 2010-07-27 10:14:17 -0700
message:
  Changed the member options login page unsubscribe request to include the
  requesters IP address in the confirmation request.  Bug #610527.
modified:
  Mailman/Cgi/options.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/options.py'
--- Mailman/Cgi/options.py	2010-03-29 20:48:11 +0000
+++ Mailman/Cgi/options.py	2010-07-27 17:14:17 +0000
@@ -179,7 +179,8 @@
                     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()

=== modified file 'NEWS'
--- NEWS	2010-07-27 14:41:37 +0000
+++ NEWS	2010-07-27 17:14:17 +0000
@@ -42,6 +42,9 @@
 
   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)

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to