http://bugzilla.spamassassin.org/show_bug.cgi?id=4176





------- Additional Comments From [EMAIL PROTECTED]  2005-05-04 23:37 -------
'Is it the case that the @ISA in HTML.pm means
that it inherits from HTML::Parser and not from Mail::SpamAssassin, and it has
no access to the conf stuff in the main SpamAssassin object? The only call to
HTML->new() that I found was in Mail::SpamAssassin::Message::Node which also
seems not to have access to the main object and therefore no access to conf.
Which means that if you want HTML.pm to make use of the redirector_patterns
configuration value it is going to be quite tricky.'

not too tricky -- pass the 'main' pointer through all object constructors so
that Node can have a ptr, and then pass that in to the HTML object as well so it
can take a ptr there too.

just remember to "delete" that pointer in finish() in Node.pm, and add a new
finish() API to HTML.pm which will delete that ptr.  otherwise you wind up with
the danger of a circular reference.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to