diff options
author | Mark Sapiro <mark@msapiro.net> | 2009-01-10 12:44:55 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2009-01-10 12:44:55 -0800 |
commit | 4cfb7130a9b64d951b8e3367c67ca445f3eb296e (patch) | |
tree | 678180f669a901dc852219de0ecd0a036e1aef04 /Mailman/Cgi/admin.py | |
parent | 2154e5dc03be61c10c7fb9157600fc19feffce86 (diff) | |
download | mailman2-4cfb7130a9b64d951b8e3367c67ca445f3eb296e.tar.gz mailman2-4cfb7130a9b64d951b8e3367c67ca445f3eb296e.tar.xz mailman2-4cfb7130a9b64d951b8e3367c67ca445f3eb296e.zip |
- Fixed the admin Membership List Find member function so the 'letter'
links to a chunked result would still be limited to the Find member
search. SF patch #1532081.
- Changed scripts/driver to return a 405 status for non GET, POST, HEAD
methods. SF patch #1578756.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/admin.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index ba44fc44..158a9bbd 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2008 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2009 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 @@ -940,7 +940,10 @@ def membership_options(mlist, subcat, cgidata, doc, form): if bucket: cells = [] for letter in keys: - url = adminurl + '/members?letter=%s' % letter + findfrag = '' + if regexp: + findfrag = '&findmember=' + urllib.quote(regexp) + url = adminurl + '/members?letter=' + letter + findfrag if letter == bucket: show = Bold('[%s]' % letter.upper()).Format() else: |