From 45663c6a1ac1eae75b7683ca9accf65639315e03 Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Tue, 13 Dec 2005 01:56:44 +0000 Subject: Add an extra trailing space in scrubbed content URL. This may save the users of MS Outlook and Apple Mail. --- Mailman/Handlers/Scrubber.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Mailman/Handlers/Scrubber.py') diff --git a/Mailman/Handlers/Scrubber.py b/Mailman/Handlers/Scrubber.py index dc239ba2..05aeb20a 100644 --- a/Mailman/Handlers/Scrubber.py +++ b/Mailman/Handlers/Scrubber.py @@ -509,5 +509,7 @@ def save_attachment(mlist, msg, dir, filter_html=True): # Private archives will likely have a trailing slash. Normalize. if baseurl[-1] <> '/': baseurl += '/' - url = baseurl + '%s/%s%s%s' % (dir, filebase, extra, ext) + # A trailing space in url string may save users who are using + # RFC-1738 compliant MUA (Not Mozilla). + url = baseurl + '%s/%s%s%s ' % (dir, filebase, extra, ext) return url -- cgit v1.2.3