diff options
| author | bwarsaw | 2001-10-27 03:30:20 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-10-27 03:30:20 +0000 |
| commit | ac79a2601e268a91ec76837527f2014b9759447a (patch) | |
| tree | 16b3c569746f9f6ca30a42cd4b16b6b1ccf30c32 /Mailman/Defaults.py.in | |
| parent | a125a6d2670a19cca59ad00b49f0904abc3913bf (diff) | |
| download | mailman-ac79a2601e268a91ec76837527f2014b9759447a.tar.gz mailman-ac79a2601e268a91ec76837527f2014b9759447a.tar.zst mailman-ac79a2601e268a91ec76837527f2014b9759447a.zip | |
ARCHIVE_HTML_SANITIZER: This now takes values 0, 1, 2 (the latter is
new, meaning "leave it inline but HTML-escape it). The default is 1,
but leave the lynx filter in commented out as an example.
Diffstat (limited to 'Mailman/Defaults.py.in')
| -rw-r--r-- | Mailman/Defaults.py.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index de809fa06..0385f2c44 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -204,6 +204,7 @@ ARCHIVE_SCRUBBER = 'Mailman.Handlers.Scrubber' # 1 - Remove any embedded text/html parts, leaving them as HTML-escaped # attachments which can be separately viewed. Outer text/html parts are # simply HTML-escaped. +# 2 - Leave it inline, but HTML-escape it # # The value can also be a string, in which case it is the name of a command to # filter the HTML page through. The resulting output is left in an attachment @@ -211,7 +212,8 @@ ARCHIVE_SCRUBBER = 'Mailman.Handlers.Scrubber' # format of the string must include a "%(filename)s" which will contain the # name of the temporary file that the program should operate on. It should # write the processed message to stdout. -ARCHIVE_HTML_SANITIZER = '/usr/bin/lynx -dump %(filename)s' +#ARCHIVE_HTML_SANITIZER = '/usr/bin/lynx -dump %(filename)s' +ARCHIVE_HTML_SANITIZER = 1 # Set this to 1 to enable gzipping of the downloadable archive .txt file. # Note that this is /extremely/ inefficient, so an alternative is to just |
