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 2008/05/18 15:43:10 UTC

svn commit: r657560 - /spamassassin/branches/3.2/lib/Mail/SpamAssassin/Message.pm

Author: jm
Date: Sun May 18 06:43:10 2008
New Revision: 657560

URL: http://svn.apache.org/viewvc?rev=657560&view=rev
Log:
remove OUTLOOK_3416, due to FP in bug 5650

Modified:
    spamassassin/branches/3.2/lib/Mail/SpamAssassin/Message.pm

Modified: spamassassin/branches/3.2/lib/Mail/SpamAssassin/Message.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.2/lib/Mail/SpamAssassin/Message.pm?rev=657560&r1=657559&r2=657560&view=diff
==============================================================================
--- spamassassin/branches/3.2/lib/Mail/SpamAssassin/Message.pm (original)
+++ spamassassin/branches/3.2/lib/Mail/SpamAssassin/Message.pm Sun May 18 06:43:10 2008
@@ -639,7 +639,11 @@
       # If it's not multipart, go ahead and just deal with it.
       $self->_parse_normal($toparse);
 
-      if ($toparse->[0]->{'type'} =~ /^message\b/i && ($toparse->[3] > 0)) {
+      # bug 5041: exclude message/partial messages, however
+      if ($toparse->[0]->{'type'} =~ /^message\b/i &&
+          $toparse->[0]->{'type'} !~ /^message\/partial$/i &&
+            ($toparse->[3] > 0))
+      {
         # Just decode the part, but we don't care about the result here.
         $toparse->[0]->decode(0);