diff options
author | tkikuchi <> | 2005-12-13 01:56:44 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-12-13 01:56:44 +0000 |
commit | 45663c6a1ac1eae75b7683ca9accf65639315e03 (patch) | |
tree | a1fc082b932f2d1e7ab1c74e3774c48eaf301605 /Mailman/Handlers/Scrubber.py | |
parent | ff48e0ff7992c887840b65ea4c30687ab79a056a (diff) | |
download | mailman2-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 '')
-rw-r--r-- | Mailman/Handlers/Scrubber.py | 4 |
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 |