[Mimedefang] ANOMY HTML::Cleaner.pm

Rich West Rich.West at divatv.com
Mon May 13 21:14:24 EDT 2002


After receiving SEVERAL complaints from users having graphics stripped 
from their email, I started looking through the code.

MD calls just one aspect of Anomy, specifically HTML::Cleaner.pm and it 
passes the entity through the "clean" subroutine of HTML::Cleaner.pm.

After looking at that subroutine within HTML::Cleaner.pm, it looks like:
sub clean
{
    my $self = shift;
    my $data_ptr = shift;
  
    my $conf = $self->{"conf"};
    my $log = $self->{"log"};
    my $leftovers = undef;
...


It looks like the configuration file is being passed to it somehow (am I 
reading that right).  Is it possible to set up some sort of config file 
to make Anomy::HTML behave properly with MD?  Or better yet, is it 
possible to have Anomy::HTML use, at the very least, SOME of the 
configuration of MD?

-Rich


-- 
Richard West                            mailto:richard.west at divatv.com
Sr. Systems Administrator
Diva - Princeton, NJ                    http://www.divatv.com






More information about the MIMEDefang mailing list