aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers
diff options
context:
space:
mode:
authortkikuchi <>2005-12-13 01:56:44 +0000
committertkikuchi <>2005-12-13 01:56:44 +0000
commit45663c6a1ac1eae75b7683ca9accf65639315e03 (patch)
treea1fc082b932f2d1e7ab1c74e3774c48eaf301605 /Mailman/Handlers
parentff48e0ff7992c887840b65ea4c30687ab79a056a (diff)
downloadmailman2-45663c6a1ac1eae75b7683ca9accf65639315e03.tar.gz
mailman2-45663c6a1ac1eae75b7683ca9accf65639315e03.tar.xz
mailman2-45663c6a1ac1eae75b7683ca9accf65639315e03.zip
Add an extra trailing space in scrubbed content URL. This may save the
users of MS Outlook and Apple Mail.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r--Mailman/Handlers/Scrubber.py4
1 files changed, 3 insertions, 1 deletions
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