Re: HTML Comments

From: Bjarni R. Einarsson (
Date: Mon 12 May 2003 - 23:47:18 GMT

  • Next message: Will Day: "Re: Defanging <STYLE>"

    On 2003-05-08, 13:19:21 (-0400), Kevin Ring wrote:
    > Is there anyway, using Anomy that I can strip HTML comments
    > completely from processed messages?

    No, not using Anomy itself. You'd need to write at least a little
    bit of code - either modify the module to do it or
    create your own parser to do the trick. If this is the only thing
    you want to do (you aren't interested in the security features of
    the sanitizer), then you might want to take a look at,
    which is included in the sanitizer distro.

    It gives a much simpler example of how the module can
    be used to rewrite messages.

    Bjarni R. Einarsson                           PGP: 02764305, B7A3AB89                -><-    

    Check out my open-source email sanitizer: Spammers, please send lots of mail to:

    Was I helpful? Let others know:

    hosted by