Download raw body.
bugfix: mail/mailman
Hi,
This fixes https://launchpad.net/bugs/1961762 in mail/mailman which
causes HTTP/500 when trying to unsubscribe an email address that
doesn't exist. A similar fix was committed upstream:
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1887
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mailman/Makefile,v
diff -u -p -r1.101 Makefile
--- Makefile 26 Sep 2023 12:28:12 -0000 1.101
+++ Makefile 6 Feb 2024 03:05:34 -0000
@@ -2,7 +2,7 @@ COMMENT= mailing list manager with web i
DISTNAME= mailman-2.1.39
CATEGORIES= mail www
-REVISION= 0
+REVISION= 1
HOMEPAGE= https://www.gnu.org/software/mailman/
Index: patches/patch-Mailman_Cgi_options_py
===================================================================
RCS file: patches/patch-Mailman_Cgi_options_py
diff -N patches/patch-Mailman_Cgi_options_py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-Mailman_Cgi_options_py 6 Feb 2024 03:05:34 -0000
@@ -0,0 +1,14 @@
+
+--- Mailman/Cgi/options.py.orig Tue Dec 14 07:36:11 2021
++++ Mailman/Cgi/options.py Tue Feb 6 13:29:13 2024
+@@ -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
bugfix: mail/mailman