Skip to content

Commit 32dc9f6

Browse files
committed
fix: related multipart image/*, audio/*, video/* inline attachments should be InlineBinary
1 parent 65533d3 commit 32dc9f6

19 files changed

+131
-61
lines changed

resources/eml/legacy/015.crlf.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
4
3+
4,
4+
5,
5+
6
46
],
57
"text_body": [
6-
3
8+
3,
9+
5,
10+
6
711
],
812
"attachments": [
913
5,
@@ -360,7 +364,7 @@
360364
],
361365
"is_encoding_problem": false,
362366
"body": {
363-
"Binary": [
367+
"InlineBinary": [
364368
137,
365369
80,
366370
78,
@@ -1751,7 +1755,7 @@
17511755
],
17521756
"is_encoding_problem": false,
17531757
"body": {
1754-
"Binary": [
1758+
"InlineBinary": [
17551759
137,
17561760
80,
17571761
78,

resources/eml/legacy/015.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
4
3+
4,
4+
5,
5+
6
46
],
57
"text_body": [
6-
3
8+
3,
9+
5,
10+
6
711
],
812
"attachments": [
913
5,
@@ -360,7 +364,7 @@
360364
],
361365
"is_encoding_problem": false,
362366
"body": {
363-
"Binary": [
367+
"InlineBinary": [
364368
137,
365369
80,
366370
78,
@@ -1751,7 +1755,7 @@
17511755
],
17521756
"is_encoding_problem": false,
17531757
"body": {
1754-
"Binary": [
1758+
"InlineBinary": [
17551759
137,
17561760
80,
17571761
78,

resources/eml/legacy/018.crlf.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
3
3+
3,
4+
4,
5+
5
46
],
57
"text_body": [
6-
2
8+
2,
9+
4,
10+
5
711
],
812
"attachments": [
913
4,
@@ -325,7 +329,7 @@
325329
],
326330
"is_encoding_problem": false,
327331
"body": {
328-
"Binary": [
332+
"InlineBinary": [
329333
137,
330334
80,
331335
78,
@@ -1716,7 +1720,7 @@
17161720
],
17171721
"is_encoding_problem": false,
17181722
"body": {
1719-
"Binary": [
1723+
"InlineBinary": [
17201724
137,
17211725
80,
17221726
78,

resources/eml/legacy/018.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
3
3+
3,
4+
4,
5+
5
46
],
57
"text_body": [
6-
2
8+
2,
9+
4,
10+
5
711
],
812
"attachments": [
913
4,
@@ -325,7 +329,7 @@
325329
],
326330
"is_encoding_problem": false,
327331
"body": {
328-
"Binary": [
332+
"InlineBinary": [
329333
137,
330334
80,
331335
78,
@@ -1716,7 +1720,7 @@
17161720
],
17171721
"is_encoding_problem": false,
17181722
"body": {
1719-
"Binary": [
1723+
"InlineBinary": [
17201724
137,
17211725
80,
17221726
78,

resources/eml/legacy/024.crlf.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
1
3+
1,
4+
2,
5+
3
46
],
57
"text_body": [
6-
1
8+
1,
9+
2,
10+
3
711
],
812
"attachments": [
913
2,
@@ -255,7 +259,7 @@
255259
],
256260
"is_encoding_problem": false,
257261
"body": {
258-
"Binary": [
262+
"InlineBinary": [
259263
137,
260264
80,
261265
78,
@@ -1646,7 +1650,7 @@
16461650
],
16471651
"is_encoding_problem": false,
16481652
"body": {
1649-
"Binary": [
1653+
"InlineBinary": [
16501654
137,
16511655
80,
16521656
78,

resources/eml/legacy/024.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
1
3+
1,
4+
2,
5+
3
46
],
57
"text_body": [
6-
1
8+
1,
9+
2,
10+
3
711
],
812
"attachments": [
913
2,
@@ -255,7 +259,7 @@
255259
],
256260
"is_encoding_problem": false,
257261
"body": {
258-
"Binary": [
262+
"InlineBinary": [
259263
137,
260264
80,
261265
78,
@@ -1646,7 +1650,7 @@
16461650
],
16471651
"is_encoding_problem": false,
16481652
"body": {
1649-
"Binary": [
1653+
"InlineBinary": [
16501654
137,
16511655
80,
16521656
78,

resources/eml/legacy/025.crlf.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
2
3+
2,
4+
3,
5+
4
46
],
57
"text_body": [
6-
2
8+
2,
9+
3,
10+
4
711
],
812
"attachments": [
913
3,
@@ -290,7 +294,7 @@
290294
],
291295
"is_encoding_problem": false,
292296
"body": {
293-
"Binary": [
297+
"InlineBinary": [
294298
137,
295299
80,
296300
78,
@@ -1681,7 +1685,7 @@
16811685
],
16821686
"is_encoding_problem": false,
16831687
"body": {
1684-
"Binary": [
1688+
"InlineBinary": [
16851689
137,
16861690
80,
16871691
78,

resources/eml/legacy/025.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"html_body": [
3-
2
3+
2,
4+
3,
5+
4
46
],
57
"text_body": [
6-
2
8+
2,
9+
3,
10+
4
711
],
812
"attachments": [
913
3,
@@ -290,7 +294,7 @@
290294
],
291295
"is_encoding_problem": false,
292296
"body": {
293-
"Binary": [
297+
"InlineBinary": [
294298
137,
295299
80,
296300
78,
@@ -1681,7 +1685,7 @@
16811685
],
16821686
"is_encoding_problem": false,
16831687
"body": {
1684-
"Binary": [
1688+
"InlineBinary": [
16851689
137,
16861690
80,
16871691
78,

resources/eml/legacy/035.crlf.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"html_body": [
33
4,
4+
5,
5+
6,
46
7,
57
8
68
],
@@ -344,7 +346,7 @@
344346
],
345347
"is_encoding_problem": false,
346348
"body": {
347-
"Binary": [
349+
"InlineBinary": [
348350
137,
349351
80,
350352
78,
@@ -1730,7 +1732,7 @@
17301732
],
17311733
"is_encoding_problem": false,
17321734
"body": {
1733-
"Binary": [
1735+
"InlineBinary": [
17341736
137,
17351737
80,
17361738
78,

resources/eml/legacy/035.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"html_body": [
33
4,
4+
5,
5+
6,
46
7,
57
8
68
],
@@ -344,7 +346,7 @@
344346
],
345347
"is_encoding_problem": false,
346348
"body": {
347-
"Binary": [
349+
"InlineBinary": [
348350
137,
349351
80,
350352
78,
@@ -1730,7 +1732,7 @@
17301732
],
17311733
"is_encoding_problem": false,
17321734
"body": {
1733-
"Binary": [
1735+
"InlineBinary": [
17341736
137,
17351737
80,
17361738
78,

resources/eml/legacy/039.crlf.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
22
"html_body": [
33
2,
4+
3,
5+
4,
46
5,
57
6
68
],
79
"text_body": [
810
2,
11+
3,
12+
4,
913
5,
1014
6
1115
],
@@ -274,7 +278,7 @@
274278
],
275279
"is_encoding_problem": false,
276280
"body": {
277-
"Binary": [
281+
"InlineBinary": [
278282
137,
279283
80,
280284
78,
@@ -1660,7 +1664,7 @@
16601664
],
16611665
"is_encoding_problem": false,
16621666
"body": {
1663-
"Binary": [
1667+
"InlineBinary": [
16641668
137,
16651669
80,
16661670
78,

resources/eml/legacy/039.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
22
"html_body": [
33
2,
4+
3,
5+
4,
46
5,
57
6
68
],
79
"text_body": [
810
2,
11+
3,
12+
4,
913
5,
1014
6
1115
],
@@ -274,7 +278,7 @@
274278
],
275279
"is_encoding_problem": false,
276280
"body": {
277-
"Binary": [
281+
"InlineBinary": [
278282
137,
279283
80,
280284
78,
@@ -1660,7 +1664,7 @@
16601664
],
16611665
"is_encoding_problem": false,
16621666
"body": {
1663-
"Binary": [
1667+
"InlineBinary": [
16641668
137,
16651669
80,
16661670
78,

0 commit comments

Comments
 (0)