diff options
author | Mark Sapiro <mark@msapiro.net> | 2022-02-22 02:35:34 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2022-02-22 02:35:34 -0800 |
commit | e8439277d594a9f1357f5e05edf4607e01b38f31 (patch) | |
tree | d331f88d58d93e1a142eb18718186b84c40206ef | |
parent | 16c8af52bb280ae959137eed11bf4385d4340f31 (diff) | |
download | mailman2-e8439277d594a9f1357f5e05edf4607e01b38f31.tar.gz mailman2-e8439277d594a9f1357f5e05edf4607e01b38f31.tar.xz mailman2-e8439277d594a9f1357f5e05edf4607e01b38f31.zip |
Avoid 500 Internal Server Error for non-member with private roster.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/options.py | 4 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index c5c6425a..cbdeb6e7 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -169,8 +169,8 @@ def main(): if not mlist.isMember(user): if mlist.private_roster == 0: doc.addError(_('No such member: %(safeuser)s.')) - loginpage(mlist, doc, None, language) - print doc.Format() + loginpage(mlist, doc, None, language) + print doc.Format() return # Avoid cross-site scripting attacks @@ -11,6 +11,9 @@ Here is a history of user visible changes to Mailman. - Test for a valid header following a Unix From_ line in bin/cleanarch has been improved. (LP: #1957025) + - A 500 Internal Server Error when requesting the options page for a + non-member address on a list with private rosters is avoided. + (LP: #1961762) 2.1.39 (13-Dec-2021) |