diff options
author | Tokio Kikuchi <tkikuchi@is.kochi-u.ac.jp> | 2007-11-21 14:38:40 +0900 |
---|---|---|
committer | Tokio Kikuchi <tkikuchi@is.kochi-u.ac.jp> | 2007-11-21 14:38:40 +0900 |
commit | d3ac493213dfb3e0d3027e38c1bc9712c621c4e4 (patch) | |
tree | f7ae1e31bf30e59214a504378e1baee5777fd675 /Mailman | |
parent | 93a629cb4d774ffe196ffa6a9411212ecdb884ac (diff) | |
parent | 5900a18ca1b4616db24f7a12b71b5cb653763c50 (diff) | |
download | mailman2-d3ac493213dfb3e0d3027e38c1bc9712c621c4e4.tar.gz mailman2-d3ac493213dfb3e0d3027e38c1bc9712c621c4e4.tar.xz mailman2-d3ac493213dfb3e0d3027e38c1bc9712c621c4e4.zip |
Archiver/HyperArch.py - Fixed mailto link bug in Subject and In-Reply-To,
Subject now have 'Re: ' and I-R-T should be the Message-ID.
(1621278, 1834281)
Diffstat (limited to '')
-rw-r--r-- | Mailman/Archiver/HyperArch.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py index e5ed59a9..8cd000e7 100644 --- a/Mailman/Archiver/HyperArch.py +++ b/Mailman/Archiver/HyperArch.py @@ -460,8 +460,10 @@ class Article(pipermail.Article): d["email_html"] = self.quote(self.email) 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) + # TK: These two _url variables are used to compose a response + # from the archive web page. So, ... + d["subject_url"] = url_quote('Re: ' + self.subject) + 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) |