diff options
Diffstat (limited to 'Mailman')
-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 |