Mailing List Archive

svn commit: rev 6741 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin
Author: felicity
Date: Wed Feb 18 16:35:47 2004
New Revision: 6741

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
full tests get the raw header (no decoding). also fix the comment about that

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 Wed Feb 18 16:35:47 2004
@@ -182,9 +182,9 @@
}

# and do full tests: first with entire, full, undecoded message
- # still skip application/image attachments though
+ # use get_all_headers instead of
{
- my $fulltext = join ('', $self->{msg}->get_all_headers(), "\n",
+ my $fulltext = join ('', $self->{msg}->get_all_headers(1), "\n",
$self->{msg}->get_pristine_body());
$self->do_full_tests(\$fulltext);
$self->do_full_eval_tests(\$fulltext);