You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/03/04 14:42:46 UTC
svn commit: r514400 -
/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm
Author: jm
Date: Sun Mar 4 05:42:46 2007
New Revision: 514400
URL: http://svn.apache.org/viewvc?view=rev&rev=514400
Log:
oops. Rule2XSBody was looking at the wrong rendering of the body string; 'rawbody' instead of 'body'. fix
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm?view=diff&rev=514400&r1=514399&r2=514400
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm Sun Mar 4 05:42:46 2007
@@ -124,7 +124,7 @@
my ($self, $pms, $conf, %opts) = @_;
$self->add_evalstr ('
- my $bodytext = $self->get_decoded_body_text_array();
+ my $bodytext = $self->get_decoded_stripped_body_text_array();
$self->{main}->call_plugins("run_body_fast_scan", {
permsgstatus => $self, ruletype => "body",
priority => '.$opts{priority}.', lines => $bodytext