-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barry Finkel wrote:
> 
> When I click on the .gif or .jpeg hyperlinks, I see the images.
> But when I click on the .htm hyperlink, I see the HTML text.
> If I take that HTML text, save it to /tmp, and then open that file
> with Firefox, I see the mail message properly formatted.
> 
> I have looked at the ARCHIVE_HTML_SANITIZER variable in Defaults.py,
> and I am not clear what value to set so that the .htm hyperlink
> will display the formatted HTML source instead of the raw HTML source.
> Is this the parameter that I need to change?


Yes, and you need to set it to 3, BUT read the comment in Defaults.py
about this and think long and hard about it before doing this.


3 - Remove text/html as attachments but don't HTML-escape them. Note:
    this is very dangerous because it essentially means anybody can send
    an HTML email to your site containing evil JavaScript or web bugs,
    or other nasty things, and folks viewing your archives will be
    susceptible.  You should only consider this option if you do heavy
    moderation of your list postings.

- --
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGx8t9VVuXXpU7hpMRAp72AKDOjrIIIKHnxzzZ70O+4nKZaZmcJQCg9PPk
Lbz7npaaRLlqLppA1O+4/uw=
=Wf7M
-----END PGP SIGNATURE-----
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to