Skip to content

Commit

Permalink
fix: related multipart image/*, audio/*, video/* inline attachments s…
Browse files Browse the repository at this point in the history
…hould be InlineBinary
  • Loading branch information
sftse committed Dec 12, 2023
1 parent 65533d3 commit 32dc9f6
Show file tree
Hide file tree
Showing 19 changed files with 131 additions and 61 deletions.
12 changes: 8 additions & 4 deletions resources/eml/legacy/015.crlf.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
4
4,
5,
6
],
"text_body": [
3
3,
5,
6
],
"attachments": [
5,
Expand Down Expand Up @@ -360,7 +364,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1751,7 +1755,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/015.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
4
4,
5,
6
],
"text_body": [
3
3,
5,
6
],
"attachments": [
5,
Expand Down Expand Up @@ -360,7 +364,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1751,7 +1755,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/018.crlf.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
3
3,
4,
5
],
"text_body": [
2
2,
4,
5
],
"attachments": [
4,
Expand Down Expand Up @@ -325,7 +329,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1716,7 +1720,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/018.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
3
3,
4,
5
],
"text_body": [
2
2,
4,
5
],
"attachments": [
4,
Expand Down Expand Up @@ -325,7 +329,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1716,7 +1720,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/024.crlf.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
1
1,
2,
3
],
"text_body": [
1
1,
2,
3
],
"attachments": [
2,
Expand Down Expand Up @@ -255,7 +259,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1646,7 +1650,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/024.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
1
1,
2,
3
],
"text_body": [
1
1,
2,
3
],
"attachments": [
2,
Expand Down Expand Up @@ -255,7 +259,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1646,7 +1650,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/025.crlf.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
2
2,
3,
4
],
"text_body": [
2
2,
3,
4
],
"attachments": [
3,
Expand Down Expand Up @@ -290,7 +294,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1681,7 +1685,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
12 changes: 8 additions & 4 deletions resources/eml/legacy/025.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"html_body": [
2
2,
3,
4
],
"text_body": [
2
2,
3,
4
],
"attachments": [
3,
Expand Down Expand Up @@ -290,7 +294,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1681,7 +1685,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
6 changes: 4 additions & 2 deletions resources/eml/legacy/035.crlf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"html_body": [
4,
5,
6,
7,
8
],
Expand Down Expand Up @@ -344,7 +346,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1730,7 +1732,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
6 changes: 4 additions & 2 deletions resources/eml/legacy/035.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"html_body": [
4,
5,
6,
7,
8
],
Expand Down Expand Up @@ -344,7 +346,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1730,7 +1732,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
8 changes: 6 additions & 2 deletions resources/eml/legacy/039.crlf.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"html_body": [
2,
3,
4,
5,
6
],
"text_body": [
2,
3,
4,
5,
6
],
Expand Down Expand Up @@ -274,7 +278,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1660,7 +1664,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
8 changes: 6 additions & 2 deletions resources/eml/legacy/039.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"html_body": [
2,
3,
4,
5,
6
],
"text_body": [
2,
3,
4,
5,
6
],
Expand Down Expand Up @@ -274,7 +278,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down Expand Up @@ -1660,7 +1664,7 @@
],
"is_encoding_problem": false,
"body": {
"Binary": [
"InlineBinary": [
137,
80,
78,
Expand Down
Loading

0 comments on commit 32dc9f6

Please sign in to comment.