rpms/mailman/FC-5 mailman-archive-reply.patch, NONE, 1.1 mailman.spec, 1.55, 1.56

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Oct 5 10:13:33 UTC 2006


Author: dwmw2

Update of /cvs/dist/rpms/mailman/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv23017

Modified Files:
	mailman.spec 
Added Files:
	mailman-archive-reply.patch 
Log Message:
fix archive in-reply-to bug

mailman-archive-reply.patch:
 Mailman/Archiver/HyperArch.py |    2 +-
 templates/en/article.html     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE mailman-archive-reply.patch ---
--- mailman/Mailman/Archiver/HyperArch.py.orig	2005-10-23 07:04:15.000000000 -0400
+++ mailman/Mailman/Archiver/HyperArch.py	2005-10-23 07:05:45.000000000 -0400
@@ -432,7 +432,7 @@ class Article(pipermail.Article):
             d["title"] = self.quote(self.subject)
             d["subject_html"] = self.quote(self.subject)
             d["subject_url"] = url_quote(self.subject)
-            d["in_reply_to_url"] = url_quote(self.in_reply_to)
+            d["in_reply_to_url"] = url_quote(self._message_id)
             if mm_cfg.ARCHIVER_OBSCURES_EMAILADDRS:
                 # Point the mailto url back to the list
                 author = re.sub('@', _(' at '), self.author)
--- mailman/templates/en/article.html.orig	2005-10-23 07:21:04.000000000 -0400
+++ mailman/templates/en/article.html	2005-10-23 07:27:08.000000000 -0400
@@ -4,7 +4,7 @@
    <TITLE> %(title)s
    </TITLE>
    <LINK REL="Index" HREF="index.html" >
-   <LINK REL="made" HREF="mailto:%(email_url)s?Subject=%(subject_url)s&In-Reply-To=%(in_reply_to_url)s">
+   <LINK REL="made" HREF="mailto:%(email_url)s?Subject=Re:%%20%(subject_url)s&In-Reply-To=%(in_reply_to_url)s">
    <META NAME="robots" CONTENT="index,nofollow">
    %(encoding)s
    %(prev)s
@@ -13,7 +13,7 @@
  <BODY BGCOLOR="#ffffff">
    <H1>%(subject_html)s</H1>
     <B>%(author_html)s</B> 
-    <A HREF="mailto:%(email_url)s?Subject=%(subject_url)s&In-Reply-To=%(in_reply_to_url)s"
+    <A HREF="mailto:%(email_url)s?Subject=Re:%%20%(subject_url)s&In-Reply-To=%(in_reply_to_url)s"
        TITLE="%(subject_html)s">%(email_html)s
        </A><BR>
     <I>%(datestr_html)s</I>


Index: mailman.spec
===================================================================
RCS file: /cvs/dist/rpms/mailman/FC-5/mailman.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- mailman.spec	10 May 2006 07:29:09 -0000	1.55
+++ mailman.spec	5 Oct 2006 10:13:31 -0000	1.56
@@ -1,7 +1,7 @@
 Summary: Mailing list manager with built in Web access.
 Name: mailman
 Version: 2.1.8
-Release: 0.FC5.1
+Release: 0.FC5.2
 Epoch: 3
 Group: Applications/Internet
 #Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz
@@ -19,6 +19,7 @@
 Patch5: mailman-FHS.patch
 Patch6: mailman-python-compile.patch
 Patch7: mailman-init.patch
+Patch8: mailman-archive-reply.patch
 
 License: GPL
 URL: http://www.list.org/
@@ -92,6 +93,7 @@
 %patch5 -p1 -b .FHS
 %patch6 -p1 -b .python-compile
 %patch7 -p1 -b .inithelp
+%patch8 -p1 -b .archive-in-reply-to
 
 cp $RPM_SOURCE_DIR/mailman.INSTALL.REDHAT.in INSTALL.REDHAT.in
 
@@ -325,6 +327,9 @@
 %attr(0644,root,%{mmgroup}) %config(noreplace) %{mmdir}/cron/crontab.in
 
 %changelog
+* Thu Oct 05 2006 David Woodhouse <dwmw2 at redhat.com> - 3:2.1.8-0.FC5.2
+- fix broken In-Reply-To: header in mailto: URL in archives (#123768)
+
 * Mon May 08 2006 Harald Hoyer <harald at redhat.com> - 3:2.1.8-0.FC5.1
 - version 2.1.8
 




More information about the fedora-cvs-commits mailing list