[arch-commits] Commit in mailman/trunk (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Apr 6 23:50:49 UTC 2022
Date: Wednesday, April 6, 2022 @ 23:50:49
Author: foutrelis
Revision: 1182765
upgpkg: mailman 2.1.39-2: backport fix for FS#74372
500 Internal Server Error for non-member with private roster.
Upstream bug: https://launchpad.net/bugs/1961762
Added:
mailman/trunk/02-fix-500-error-for-non-member.patch
Modified:
mailman/trunk/PKGBUILD
---------------------------------------+
02-fix-500-error-for-non-member.patch | 19 +++++++++++++++++++
PKGBUILD | 6 ++++--
2 files changed, 23 insertions(+), 2 deletions(-)
Added: 02-fix-500-error-for-non-member.patch
===================================================================
--- 02-fix-500-error-for-non-member.patch (rev 0)
+++ 02-fix-500-error-for-non-member.patch 2022-04-06 23:50:49 UTC (rev 1182765)
@@ -0,0 +1,19 @@
+# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1887
+# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1888
+
+=== modified file 'Mailman/Cgi/options.py'
+--- old/Mailman/Cgi/options.py 2021-11-24 03:38:19 +0000
++++ new/Mailman/Cgi/options.py 2022-02-22 18:10:03 +0000
+@@ -169,8 +169,9 @@
+ 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()
++ user = None
++ loginpage(mlist, doc, user, language)
++ print doc.Format()
+ return
+
+ # Avoid cross-site scripting attacks
+
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-06 23:43:04 UTC (rev 1182764)
+++ PKGBUILD 2022-04-06 23:50:49 UTC (rev 1182765)
@@ -3,7 +3,7 @@
pkgname=mailman
pkgver=2.1.39
-pkgrel=1
+pkgrel=2
pkgdesc='The GNU Mailing List Manager'
arch=(x86_64)
license=('GPL')
@@ -34,6 +34,7 @@
'mailman-senddigests.service'
'mailman-senddigests.timer'
'01-mailman-2.1-build.patch'
+ '02-fix-500-error-for-non-member.patch'
)
validpgpkeys=('C638CAEF0AC21563736B5A22555B975E953B8693') # Mark Sapiro <mark at msapiro.net>
sha256sums=('7b8e9222364abdfd25cb2053c422319aac7b620c287dd979703e0399d72f4390'
@@ -56,7 +57,8 @@
'4e22a0fec29e6e13d3bcf91a3e89e943aa4a67026f1b818438744cb9925d017e'
'1c01dc43807366e2cdd9f95bb6ae257641f45946a7b33753692de68bba0c1b11'
'274ec372975a8092ad2d743668b3a2c73e027ebe46d9f51098edeef6e712eaef'
- '50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561')
+ '50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561'
+ 'aa01f95e6c79cc3c2b82922ee80a7434cfd2f79ad2e1c946df97539460e18b5d')
prepare() {
cd $pkgname-$pkgver
More information about the arch-commits
mailing list