From 66e7e9b40a4758031a2a41e36812271a835ec908 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Wed, 7 May 2014 16:57:14 -0400 Subject: [PATCH] add new test for attachment containing NULs --- test/mhbuild/nulls | Bin 0 -> 15 bytes test/mhbuild/test-attach | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 test/mhbuild/nulls diff --git a/test/mhbuild/nulls b/test/mhbuild/nulls new file mode 100644 index 0000000000000000000000000000000000000000..d5def96f90f0435c54114b6a04af8d0794121c99 GIT binary patch literal 15 KcmZQzKmh;%4*&rG literal 0 HcmV?d00001 diff --git a/test/mhbuild/test-attach b/test/mhbuild/test-attach index 6d5a5945..97667920 100755 --- a/test/mhbuild/test-attach +++ b/test/mhbuild/test-attach @@ -59,6 +59,7 @@ To: Mr Test cc: Fcc: +outbox Attach: ${srcdir}/test/mhbuild/tiny.jpg +Attach: ${srcdir}/test/mhbuild/nulls ------ This is a test EOF @@ -85,6 +86,14 @@ Content-Transfer-Encoding: base64 /9g= +------- =_aaaaaaaaaa0 +Content-Type: application/octet-stream; name="nulls" +Content-Description: nulls +Content-Disposition: attachment; filename="nulls" +Content-Transfer-Encoding: base64 + +AAAAAAAAAAAAAAAAAAAA + ------- =_aaaaaaaaaa0-- EOF -- 2.56.0