------------------------------------------------------------
revno: 1715
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Wed 2017-06-07 19:51:02 -0700
message:
  Reverted another getfirst in the multi-value CGI defence.
modified:
  Mailman/Cgi/options.py


--
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	2017-06-06 05:47:05 +0000
+++ Mailman/Cgi/options.py	2017-06-08 02:51:02 +0000
@@ -671,7 +671,7 @@
         # Process user selected topics, but don't make the changes to the
         # MailList object; we must do that down below when the list is
         # locked.
-        topicnames = cgidata.getfirst('usertopic')
+        topicnames = cgidata.getvalue('usertopic')
         if topicnames:
             # Some topics were selected.  topicnames can actually be a string
             # or a list of strings depending on whether more than one topic

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to