From 9675cdb545a139984a2d765397f3a5e26472a49e Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 8 Jul 2022 10:23:07 +0200 Subject: Use CRLF as line ending in test files --- tests/emails/thirdparty/000.eml | 38 +++++++------- tests/emails/thirdparty/001.eml | 48 ++++++++--------- tests/emails/thirdparty/002.eml | 40 +++++++------- tests/emails/thirdparty/003.eml | 70 ++++++++++++------------ tests/emails/thirdparty/004.eml | 82 ++++++++++++++--------------- tests/emails/thirdparty/005.eml | Bin 611 -> 644 bytes tests/emails/thirdparty/006.eml | 60 ++++++++++----------- tests/emails/thirdparty/007.eml | 68 ++++++++++++------------ tests/emails/thirdparty/008.eml | 114 ++++++++++++++++++++-------------------- tests/emails/thirdparty/009.eml | 42 +++++++-------- tests/emails/thirdparty/010.eml | 24 ++++----- 11 files changed, 293 insertions(+), 293 deletions(-) (limited to 'tests/emails/thirdparty') diff --git a/tests/emails/thirdparty/000.eml b/tests/emails/thirdparty/000.eml index 6c0b9c4..7ce52f8 100644 --- a/tests/emails/thirdparty/000.eml +++ b/tests/emails/thirdparty/000.eml @@ -1,20 +1,20 @@ -MIME-Version: 1.0 -Content-Type: multipart/alternative; - boundary="bound" +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="bound" + +mime header + +--bound +Content-Transfer-Encoding: base64 +Content-Type: text/plain + +d2UgaGF2ZQ1hIGxvdCAKb2YgAGJpbmFyeSBzdHVmZiBpbiBoZXJlCmIgYWRqaWcgc2FkamcgamFz +aWRnamlhZWhnYTN3aHQ4YTN3OGdoeGpjIGRzZ2FkIGhhc2RnaHNkIGdhc2QgZHNqZHNvZ2Egc2pk +Z2EwdzN0amhhd2pnc2VydG5pcTNuNW9xZXJqcXcycjg5cTIzaCBhd2hycWg4MzVyOGE= +--bound +Content-Type: text/plain +Content-Transfer-Encoding: base64 + +ZWg= +--bound-- -mime header - ---bound -Content-Transfer-Encoding: base64 -Content-Type: text/plain - -d2UgaGF2ZQ1hIGxvdCAKb2YgAGJpbmFyeSBzdHVmZiBpbiBoZXJlCmIgYWRqaWcgc2FkamcgamFz -aWRnamlhZWhnYTN3aHQ4YTN3OGdoeGpjIGRzZ2FkIGhhc2RnaHNkIGdhc2QgZHNqZHNvZ2Egc2pk -Z2EwdzN0amhhd2pnc2VydG5pcTNuNW9xZXJqcXcycjg5cTIzaCBhd2hycWg4MzVyOGE= ---bound -Content-Type: text/plain -Content-Transfer-Encoding: base64 - -ZWg= ---bound-- - diff --git a/tests/emails/thirdparty/001.eml b/tests/emails/thirdparty/001.eml index cfefd97..645c31b 100644 --- a/tests/emails/thirdparty/001.eml +++ b/tests/emails/thirdparty/001.eml @@ -1,25 +1,25 @@ -MIME-Version: 1.0 -Content-Type: multipart/alternative; - boundary="bound" +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="bound" + +mime header + +--bound +Content-Transfer-Encoding: binary +Content-Type: text/plain + +d2UgaGF2ZQ1hIGxvdCAKb2YgAGJpbmFyeSBzdHVmZiBpbiBoZXJlCmIgYWRqaWcgc2FkamcgamFz +aWRnamlhZWhnYTN3aHQ4YTN3OGdoeGpjIGRzZ2FkIGhhc2RnaHNkIGdhc2QgZHNqZHNvZ2Egc2pk +Z2EwdzN0amhhd2pnc2VydG5pcTNuNW9xZXJqcXcycjg5cTIzaCBhd2hycWg4MzVyOGE= +--bound +Content-Type: text/plain +Content-Transfer-Encoding: binary + +ZWg= +--bound +Content-Type: text/plain + +hello world + +--bound-- -mime header - ---bound -Content-Transfer-Encoding: binary -Content-Type: text/plain - -d2UgaGF2ZQ1hIGxvdCAKb2YgAGJpbmFyeSBzdHVmZiBpbiBoZXJlCmIgYWRqaWcgc2FkamcgamFz -aWRnamlhZWhnYTN3aHQ4YTN3OGdoeGpjIGRzZ2FkIGhhc2RnaHNkIGdhc2QgZHNqZHNvZ2Egc2pk -Z2EwdzN0amhhd2pnc2VydG5pcTNuNW9xZXJqcXcycjg5cTIzaCBhd2hycWg4MzVyOGE= ---bound -Content-Type: text/plain -Content-Transfer-Encoding: binary - -ZWg= ---bound -Content-Type: text/plain - -hello world - ---bound-- - diff --git a/tests/emails/thirdparty/002.eml b/tests/emails/thirdparty/002.eml index 113bcc5..7c4a12f 100644 --- a/tests/emails/thirdparty/002.eml +++ b/tests/emails/thirdparty/002.eml @@ -1,20 +1,20 @@ -Content-Type: multipart/mixed; boundary=foo - ---foo -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; charset=utf-8 - -p=C3=A4iv=C3=A4=C3=A4 - ---foo -Content-Transfer-Encoding: base64 -Content-Type: text/plain; charset=utf-8 - -ecO2dMOkIHZhYW4uCg== ignored ---foo -Content-Transfer-Encoding: base64 -Content-Type: text/plain; charset=utf-8 - -?garbage ---foo-- - +Content-Type: multipart/mixed; boundary=foo + +--foo +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=utf-8 + +p=C3=A4iv=C3=A4=C3=A4 + +--foo +Content-Transfer-Encoding: base64 +Content-Type: text/plain; charset=utf-8 + +ecO2dMOkIHZhYW4uCg== ignored +--foo +Content-Transfer-Encoding: base64 +Content-Type: text/plain; charset=utf-8 + +?garbage +--foo-- + diff --git a/tests/emails/thirdparty/003.eml b/tests/emails/thirdparty/003.eml index 4d832fb..599eb57 100644 --- a/tests/emails/thirdparty/003.eml +++ b/tests/emails/thirdparty/003.eml @@ -1,35 +1,35 @@ -Content-Type: multipart/mixed; boundary="1" -MIME-Version: 1.0 - ---1 -Content-Transfer-Encoding: 7bit -Content-Type: text/plain; charset=us-ascii - -Move black king to queen's bishop - ---1 -Content-Transfer-Encoding: binary -Content-Type: text/plain; charset=UTF-8 - -Move ♚ to ♛'s ♝ - ---1 -Content-Transfer-Encoding: 8bit -Content-Type: text/plain; charset=UTF-8 - -Move ♚ to ♛'s ♝ - ---1 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; charset=UTF-8 - -Move =E2=99=9A to =E2=99=9B's =E2=99=9D - ---1 -Content-Transfer-Encoding: base64 -Content-Type: text/plain; charset=UTF-8 - -TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg== - ---1-- - +Content-Type: multipart/mixed; boundary="1" +MIME-Version: 1.0 + +--1 +Content-Transfer-Encoding: 7bit +Content-Type: text/plain; charset=us-ascii + +Move black king to queen's bishop + +--1 +Content-Transfer-Encoding: binary +Content-Type: text/plain; charset=UTF-8 + +Move ♚ to ♛'s ♝ + +--1 +Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=UTF-8 + +Move ♚ to ♛'s ♝ + +--1 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=UTF-8 + +Move =E2=99=9A to =E2=99=9B's =E2=99=9D + +--1 +Content-Transfer-Encoding: base64 +Content-Type: text/plain; charset=UTF-8 + +TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg== + +--1-- + diff --git a/tests/emails/thirdparty/004.eml b/tests/emails/thirdparty/004.eml index cf340a0..cce34f8 100644 --- a/tests/emails/thirdparty/004.eml +++ b/tests/emails/thirdparty/004.eml @@ -1,41 +1,41 @@ -Content-Type: multipart/mixed; boundary="1" -MIME-Version: 1.0 - ---1 -Content-Transfer-Encoding: 6bit -Content-Type: text/plain; charset=UTF-8 - -Move black king to queen's bishop - ---1 -Content-Transfer-Encoding: 7bits -Content-Type: text/plain; charset=UTF-8 - -Move ♚ to ♛'s ♝ - ---1 -Content-Transfer-Encoding: 8 bit -Content-Type: text/plain; charset=UTF-8 - -Move ♚ to ♛'s ♝ - ---1 -Content-Transfer-Encoding: 7-bit -Content-Type: text/plain; charset=UTF-8 - -Move ♚ to ♛'s ♝ - ---1 -Content-Transfer-Encoding: 8-bit -Content-Type: text/plain; charset=UTF-8 - -Move ♚ to ♛'s ♝ - ---1 -Content-Transfer-Encoding: -Content-Type: text/plain; charset=UTF-8 - -Move =E2=99=9A to =E2=99=9B's =E2=99=9D - ---1-- - +Content-Type: multipart/mixed; boundary="1" +MIME-Version: 1.0 + +--1 +Content-Transfer-Encoding: 6bit +Content-Type: text/plain; charset=UTF-8 + +Move black king to queen's bishop + +--1 +Content-Transfer-Encoding: 7bits +Content-Type: text/plain; charset=UTF-8 + +Move ♚ to ♛'s ♝ + +--1 +Content-Transfer-Encoding: 8 bit +Content-Type: text/plain; charset=UTF-8 + +Move ♚ to ♛'s ♝ + +--1 +Content-Transfer-Encoding: 7-bit +Content-Type: text/plain; charset=UTF-8 + +Move ♚ to ♛'s ♝ + +--1 +Content-Transfer-Encoding: 8-bit +Content-Type: text/plain; charset=UTF-8 + +Move ♚ to ♛'s ♝ + +--1 +Content-Transfer-Encoding: +Content-Type: text/plain; charset=UTF-8 + +Move =E2=99=9A to =E2=99=9B's =E2=99=9D + +--1-- + diff --git a/tests/emails/thirdparty/005.eml b/tests/emails/thirdparty/005.eml index 05fdc79..5fbb0e1 100644 Binary files a/tests/emails/thirdparty/005.eml and b/tests/emails/thirdparty/005.eml differ diff --git a/tests/emails/thirdparty/006.eml b/tests/emails/thirdparty/006.eml index 9293548..c83bf01 100644 --- a/tests/emails/thirdparty/006.eml +++ b/tests/emails/thirdparty/006.eml @@ -1,30 +1,30 @@ -Subject: Hide and seek -MIME-Version: 1.0 -Content-Type: multipart/mixed; boundary=1 - ---1 -Content-Type: multipart/signed; protocol="signature/plain"; migalc="pen+paper"; boundary=2 -X-Signature-Type: penmanship - ---2 -Content-Type: multipart/alternative; boundary=3 - ---3 -Content-Type: text/html; charset=us-ascii - -Search me

Don't find me here

- ---3 -Content-Type: text/plain -Content-Transfer-Encoding: binary - -Search me, and Find me here ---3-- - ---2 -Content-Type: signature/plain; charset=us-ascii - -Signed by undersigned ---2-- - ---1-- +Subject: Hide and seek +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary=1 + +--1 +Content-Type: multipart/signed; protocol="signature/plain"; migalc="pen+paper"; boundary=2 +X-Signature-Type: penmanship + +--2 +Content-Type: multipart/alternative; boundary=3 + +--3 +Content-Type: text/html; charset=us-ascii + +Search me

Don't find me here

+ +--3 +Content-Type: text/plain +Content-Transfer-Encoding: binary + +Search me, and Find me here +--3-- + +--2 +Content-Type: signature/plain; charset=us-ascii + +Signed by undersigned +--2-- + +--1-- diff --git a/tests/emails/thirdparty/007.eml b/tests/emails/thirdparty/007.eml index abbb8e9..044614a 100644 --- a/tests/emails/thirdparty/007.eml +++ b/tests/emails/thirdparty/007.eml @@ -1,34 +1,34 @@ -From: Moderator-Address -Content-Type: multipart/digest; boundary=1; - - ---1 - -From: someone-else -Subject: my opinion - -This is my opinion ---1 - -From: another one -Subject: i disagree - -Not agreeing one bit! ---1 - -From: attachment -Subject: funny hat -Content-Type: multipart/mixed; boundary=2 - ---2 -Content-Type: text/plain -Content-Transfer-Encoding: binary - -Lovely attachment for you ---2 -Content-Type: application/octet-stream; disposition=attachment; name="test.txt" -Content-Transfer-Encoding: binary - -Foobar ---2-- ---1-- +From: Moderator-Address +Content-Type: multipart/digest; boundary=1; + + +--1 + +From: someone-else +Subject: my opinion + +This is my opinion +--1 + +From: another one +Subject: i disagree + +Not agreeing one bit! +--1 + +From: attachment +Subject: funny hat +Content-Type: multipart/mixed; boundary=2 + +--2 +Content-Type: text/plain +Content-Transfer-Encoding: binary + +Lovely attachment for you +--2 +Content-Type: application/octet-stream; disposition=attachment; name="test.txt" +Content-Transfer-Encoding: binary + +Foobar +--2-- +--1-- diff --git a/tests/emails/thirdparty/008.eml b/tests/emails/thirdparty/008.eml index dc26e96..244bf48 100644 --- a/tests/emails/thirdparty/008.eml +++ b/tests/emails/thirdparty/008.eml @@ -1,57 +1,57 @@ -From user@domain Fri Feb 22 17:06:23 2008 -From: user@domain.org -Date: Sat, 24 Mar 2007 23:00:00 +0200 -Mime-Version: 1.0 -Content-Type: multipart/mixed; boundary="foo bar" - -Root MIME prologue - ---foo bar -Content-Type: text/x-myown; charset=us-ascii - -hello - ---foo bar -Content-Type: message/rfc822 - -From: sub@domain.org -Date: Sun, 12 Aug 2012 12:34:56 +0300 -Subject: submsg -Content-Type: multipart/alternative; boundary="sub1" - -Sub MIME prologue ---sub1 -Content-Type: text/html - -

Hello world

- ---sub1 -Content-Type: multipart/alternative; boundary="sub2" - ---sub2 -Content-Type: multipart/alternative; boundary="sub3" - ---sub3 - -sub3 text ---sub3 - -sub3 text2 ---sub3-- - -sub2 text ---sub2 - -sub2 text2 ---sub2-- ---sub1-- -Sub MIME epilogue - ---foo bar -Content-Type: text/plain - -Another part ---foo bar-- -Root MIME epilogue - - +From user@domain Fri Feb 22 17:06:23 2008 +From: user@domain.org +Date: Sat, 24 Mar 2007 23:00:00 +0200 +Mime-Version: 1.0 +Content-Type: multipart/mixed; boundary="foo bar" + +Root MIME prologue + +--foo bar +Content-Type: text/x-myown; charset=us-ascii + +hello + +--foo bar +Content-Type: message/rfc822 + +From: sub@domain.org +Date: Sun, 12 Aug 2012 12:34:56 +0300 +Subject: submsg +Content-Type: multipart/alternative; boundary="sub1" + +Sub MIME prologue +--sub1 +Content-Type: text/html + +

Hello world

+ +--sub1 +Content-Type: multipart/alternative; boundary="sub2" + +--sub2 +Content-Type: multipart/alternative; boundary="sub3" + +--sub3 + +sub3 text +--sub3 + +sub3 text2 +--sub3-- + +sub2 text +--sub2 + +sub2 text2 +--sub2-- +--sub1-- +Sub MIME epilogue + +--foo bar +Content-Type: text/plain + +Another part +--foo bar-- +Root MIME epilogue + + diff --git a/tests/emails/thirdparty/009.eml b/tests/emails/thirdparty/009.eml index 2b87d27..019c753 100644 --- a/tests/emails/thirdparty/009.eml +++ b/tests/emails/thirdparty/009.eml @@ -1,21 +1,21 @@ -Subject: In parts -MIME-Version: 1.0 -Content-Type: multipart/mixed; boundary=1 - ---1 -Content-Type: text/plain -Content-Transfer-Encoding: binary - -Hi, this is the fancy thing I was talking about! ---1 -Content-Type: Message/Partial; number=1; total=5; id="heks68ewe@example.org" - -X-Weird-Header-1: Bar -X-Weird-Header-2: Hello -Message-ID: -Content-Type: text/plain; charset="us-ascii" -Content-Transfer-Encoding: base64 - -dGhpcyBpcyB0aGUgZmlyc3QgcGFydCBvZiB0aGUgbWVzc2FnZQo= ---1-- - +Subject: In parts +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary=1 + +--1 +Content-Type: text/plain +Content-Transfer-Encoding: binary + +Hi, this is the fancy thing I was talking about! +--1 +Content-Type: Message/Partial; number=1; total=5; id="heks68ewe@example.org" + +X-Weird-Header-1: Bar +X-Weird-Header-2: Hello +Message-ID: +Content-Type: text/plain; charset="us-ascii" +Content-Transfer-Encoding: base64 + +dGhpcyBpcyB0aGUgZmlyc3QgcGFydCBvZiB0aGUgbWVzc2FnZQo= +--1-- + diff --git a/tests/emails/thirdparty/010.eml b/tests/emails/thirdparty/010.eml index 12bcdb2..3265caa 100644 --- a/tests/emails/thirdparty/010.eml +++ b/tests/emails/thirdparty/010.eml @@ -1,12 +1,12 @@ -Subject: =?UTF-8?B?44GT44KT44Gr44Gh44Gv?= -MIME-Version: 1.0 -Content-Type: multipart/mixed; boundary=1; comment="" - comment="人権の無視及" - ---1 -Content-Type: text/plain -Content-Transfer-Encoding: binary -Content-Language: ja - -人権の無視及 ---1-- +Subject: =?UTF-8?B?44GT44KT44Gr44Gh44Gv?= +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary=1; comment="" + comment="人権の無視及" + +--1 +Content-Type: text/plain +Content-Transfer-Encoding: binary +Content-Language: ja + +人権の無視及 +--1-- -- cgit v1.2.3