aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2014-11-04 14:59:40 -0800
committerMark Sapiro <mark@msapiro.net>2014-11-04 14:59:40 -0800
commit4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9 (patch)
tree492b265c44a67a30068d191632af1ef4f3f12f49
parent77e40fbbc6bcc5107ab3cf761d312566afda97d5 (diff)
downloadmailman2-4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9.tar.gz
mailman2-4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9.tar.xz
mailman2-4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9.zip
Fixed an archiving bug that would cause messages with 'Subject: Re:'
only to be indexed in the archives without a link to the message.
-rw-r--r--Mailman/Archiver/HyperArch.py4
-rwxr-xr-xNEWS4
2 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index 4d95c5ab..9b1df75a 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2014 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -271,6 +271,8 @@ class Article(pipermail.Article):
if result:
i = result.end(0)
self.subject = self.subject[i:]
+ if self.subject == '':
+ self.subject = _('No subject')
else:
i = -1
# Useful to keep around
diff --git a/NEWS b/NEWS
index 228f8442..6ce009f6 100755
--- a/NEWS
+++ b/NEWS
@@ -33,6 +33,10 @@ Here is a history of user visible changes to Mailman.
Bug fixes and other patches
+ - Fixed an archiving bug that would cause messages with 'Subject: Re:'
+ only to be indexed in the archives without a link to the message.
+ (LP: #1388614)
+
- The vette log entry for a message discarded by a handler now includes
the list name and the name of the handler. (LP: #558096)