http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5179


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From [EMAIL PROTECTED]  2007-02-15 10:59 -------
ok -- 

: jm 256...; svn diff lib/Mail/SpamAssassin/Plugin/DKIM.pm
Index: lib/Mail/SpamAssassin/Plugin/DKIM.pm
===================================================================
--- lib/Mail/SpamAssassin/Plugin/DKIM.pm        (revision 507614)
+++ lib/Mail/SpamAssassin/Plugin/DKIM.pm        (working copy)
@@ -252,9 +252,11 @@

   # feed content of message into verifier, using \r\n endings,
   # required by Mail::DKIM API (see bug 5300)
+  # note: bug 5179 comment 28: perl does silly things unless we use \015\012
+  # instead of \r\n
   eval {
     foreach my $line (split(/\n/s, $scan->{msg}->get_pristine)) {
-      $line =~ s/\r?$/\r\n/s;       # ensure \r\n ending
+      $line =~ s/\r?$/\015\012/s;       # ensure \015\012 ending
       $message->PRINT($line);
     }
   };
: exit=0 Thu Feb 15 18:58:16 GMT 2007; cd /home/jm/ftp/spamassassin
: jm 257...; svn commit -m "bug 5179: perl does silly things with \\r\\n line
endings on non-UNIX platforms.  use \\015\\012 instead"
lib/Mail/SpamAssassin/Plugin/DKIM.pm
Sending        lib/Mail/SpamAssassin/Plugin/DKIM.pm
Transmitting file data .
Committed revision 508076.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to