aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-07-24 14:56:35 -0700
committerMark Sapiro <mark@msapiro.net>2018-07-24 14:56:35 -0700
commit3f0a2a23837cbfd6dfc38d7df6480e936e646ffa (patch)
tree356b7cdb70a172a879b013b121c0a8f3d4eded8a
parent4aae75a4e4f560630060f7b3f5c3cdc226d127a3 (diff)
downloadmailman2-3f0a2a23837cbfd6dfc38d7df6480e936e646ffa.tar.gz
mailman2-3f0a2a23837cbfd6dfc38d7df6480e936e646ffa.tar.xz
mailman2-3f0a2a23837cbfd6dfc38d7df6480e936e646ffa.zip
Fixed broken patch at rev. 1796.
-rw-r--r--Mailman/Utils.py2
-rw-r--r--NEWS7
2 files changed, 8 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 7b8015a4..605d0976 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -297,7 +297,7 @@ def GetPathPieces(envar='PATH_INFO'):
longest = max([len(x) for x in list_names()])
else:
longest = 20
- if len(pieces[0]) > longest:
+ if pieces and len(pieces[0]) > longest:
syslog('mischief',
'Hostile listname: listname=%s: remote=%s', pieces[0], remote)
pieces[0] = pieces[0][:longest] + '...'
diff --git a/NEWS b/NEWS
index b22c7a90..e7071dce 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,13 @@ Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
Here is a history of user visible changes to Mailman.
+2.1.29 (24-Jul-2018)
+
+ Bug Fixes
+
+ - Fixed the listinfo and admin overview pages that were broken by
+ LP: #1780874. (LP: #1783417)
+
2.1.28 (23-Jul-2018)
Security