Package: libmime-lite-perl / 3.033-1

remove_extra_newline.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: remove extra newline in MIME structure
 MUA from MS will barf at the signature when wrapped in SMIME
Origin: https://rt.cpan.org/Public/Bug/Display.html?id=63253
Last-Update: 2019-12-04
---
--- a/lib/MIME/Lite.pm
    b/lib/MIME/Lite.pm
@@ -2194,7  2194,7 @@
         }
 
         ### Epilogue:
-        $out->print("\n--$boundary--\n\n");
         $out->print("\n--$boundary--\n");
     } elsif ( $type =~ m{^message/} ) {
         my @parts = @{ $self->{Parts} };
 
--- a/t/types.t
    b/t/types.t
@@ -65,7  65,6 @@
 
 This isn't really html. We are only checking the filename silly.
 --_----------=_0--
-
 EOFEXPECT
 
 is($ret, $expect, "we got the message we expected");