You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2012/08/22 16:50:17 UTC

svn commit: r1376083 - /spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm

Author: kmcgrail
Date: Wed Aug 22 14:50:16 2012
New Revision: 1376083

URL: http://svn.apache.org/viewvc?rev=1376083&view=rev
Log:
Added possible improvement for check_body_length and more comments re: bug 6830

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm?rev=1376083&r1=1376082&r2=1376083&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm Wed Aug 22 14:50:16 2012
@@ -292,6 +292,8 @@ sub new {
   # Store the pristine body for later -- store as a copy since @message
   # will get modified below
   $self->{'pristine_body'} = join('', @message);
+  # This is currently used by an eval test check_body_length.  
+  # Possible To-Do: Base the length on the @message array later down?  Or a different copy of the message post decoding?
   $self->{'pristine_body_length'} = length($self->{'pristine_body'});
 
   # CRLF -> LF