------------------------------------------------------------
revno: 1126
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Tue 2010-07-27 10:25:14 -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.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Cgi/options.py'
--- Mailman/Cgi/options.py	2010-03-29 20:47:23 +0000
+++ Mailman/Cgi/options.py	2010-07-27 17:25:14 +0000
@@ -181,7 +181,8 @@
                     mlist.HoldUnsubscription(user)
                     doc.addError(msga, tag='')
                 else:
-                    mlist.ConfirmUnsubscription(user, userlang)
+                    ip = os.environ.get('REMOTE_ADDR')
+                    mlist.ConfirmUnsubscription(user, userlang, remote=ip)
                     doc.addError(msgc, tag='')
                 mlist.Save()
             finally:

=== modified file 'NEWS'
--- NEWS	2010-07-27 14:40:57 +0000
+++ NEWS	2010-07-27 17:25:14 +0000
@@ -112,6 +112,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