diff options
author | tkikuchi <> | 2005-12-24 01:26:12 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-12-24 01:26:12 +0000 |
commit | f1b8e522f445be7a4ab7a4369fecbc6b55ed75b4 (patch) | |
tree | 1df3e7878642d5e04b8795a28a9f2c8634da61ab | |
parent | b9ed30a78ba3d8e1fcdee44fcf166b2b679f467d (diff) | |
download | mailman2-f1b8e522f445be7a4ab7a4369fecbc6b55ed75b4.tar.gz mailman2-f1b8e522f445be7a4ab7a4369fecbc6b55ed75b4.tar.xz mailman2-f1b8e522f445be7a4ab7a4369fecbc6b55ed75b4.zip |
Change default behavior for safety.
-rw-r--r-- | Mailman/Defaults.py.in | 11 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 158d665a..eac2ad73 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -260,10 +260,13 @@ PRIVATE_EXTERNAL_ARCHIVER = No # should modify the Message object as necessary. ARCHIVE_SCRUBBER = 'Mailman.Handlers.Scrubber' -# Mailman.Handlers.Scrubber uses attachment's filename as is. -# If you don't like this (extremely long mime-encoded filename) then set -# this True. -SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = False +# Control parameter whether Mailman.Handlers.Scrubber should use message +# attachment's filename as is indicated by the filename parameter or use +# 'attachement-xxx' instead. The default is set True because the applications +# on PC and Mac begin to use longer non-ascii filenames. Historically, it +# was set False in 2.1.6 for backward compatiblity but it was reset to True +# for safer operation in mailman-2.1.7. +SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = True # Use of attachment filename extension per se is may be dangerous because # virus fakes it. You can set this True if you filter the attachment by @@ -45,6 +45,9 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - Defaults.py.in: SCRUBBER_DONT_USE_ATTACHMENT_FILENAME is set to True + for safer operation. + - Fix Scrubber.py mungs quoted-printable bug with introducing 'X-Mailman-Scrubbed' header for marking that the payload is scrubber-munged. The flag is referenced in ToDigest.py, ToArchive.py, |