spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: rev 6774 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin
Date Thu, 19 Feb 2004 08:22:41 GMT
Author: jm
Date: Thu Feb 19 00:22:37 2004
New Revision: 6774

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
rule_tests passes again

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm	Thu Feb 19 00:22:37
2004
@@ -96,9 +96,6 @@
     $self->{pattern_hits} = { };
   }
 
-  # HTML parser stuff
-  $self->{html} = {};
-
   bless ($self, $class);
   $self;
 }
@@ -150,6 +147,11 @@
     # do body tests with decoded portions
     {
       my $decoded = $self->get_decoded_stripped_body_text_array();
+
+      # TODO: this has been put on the metadata object.  should we
+      # use it directly there?
+      $self->{html} = $self->{msg}->{metadata}->{html};
+
       # warn "dbg ". join ("", @{$decoded}). "\n";
       $self->do_body_tests($decoded);
       $self->do_body_eval_tests($decoded);

Mime
View raw message