/[Apache-SVN]/spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
ViewVC logotype

Diff of /spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm	2004/12/04 18:47:35	109818
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm	2004/12/04 18:56:56	109819
@@ -218,6 +218,9 @@ sub new {
         if (!@message || (defined $boundary && $message[0] =~ /^--\Q$boundary\E(?:--|\s*$)/)) {
 	  # No body or no separator before mime boundary is invalid
           $self->{'missing_head_body_separator'} = 1;
+	  
+	  # we *have* to go back through again to make sure we catch the last
+	  # header, so fake a separator and loop again.
 	  unshift(@message, "\n");
         }
       }

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26