------------------------------------------------------------
revno: 1887
fixes bug: https://launchpad.net/bugs/1961762
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Tue 2022-02-22 02:35:34 -0800
message:
Avoid 500 Internal Server Error for non-member with private roster.
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 2021-11-24 03:38:19 +0000
+++ Mailman/Cgi/options.py 2022-02-22 10:35:34 +0000
@@ -169,8 +169,8 @@
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
=== modified file 'NEWS'
--- NEWS 2022-01-11 03:08:45 +0000
+++ NEWS 2022-02-22 10:35:34 +0000
@@ -11,6 +11,9 @@
- 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)
_______________________________________________
Mailman-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: [email protected]