From be32ba64a901d88b28369cd2dea768225874651d Mon Sep 17 00:00:00 2001 From: Mauro D Date: Fri, 14 Oct 2022 13:43:29 +0000 Subject: [PATCH] Fixed values of non-RFC headers. --- CHANGELOG.md | 7 +- src/lib.rs | 1 + src/parsers/header.rs | 39 +++----- tests/legacy/000.crlf.json | 10 +-- tests/legacy/000.json | 10 +-- tests/legacy/001.crlf.json | 10 +-- tests/legacy/001.json | 10 +-- tests/legacy/002.crlf.json | 6 +- tests/legacy/002.json | 6 +- tests/legacy/003.crlf.json | 6 +- tests/legacy/003.json | 6 +- tests/legacy/004.crlf.json | 6 +- tests/legacy/004.json | 6 +- tests/legacy/005.crlf.json | 10 +-- tests/legacy/005.json | 10 +-- tests/legacy/006.crlf.json | 10 +-- tests/legacy/006.json | 10 +-- tests/legacy/007.crlf.json | 10 +-- tests/legacy/007.json | 10 +-- tests/legacy/008.crlf.json | 10 +-- tests/legacy/008.json | 10 +-- tests/legacy/009.crlf.json | 8 +- tests/legacy/009.json | 8 +- tests/legacy/010.crlf.json | 6 +- tests/legacy/010.json | 6 +- tests/legacy/011.crlf.json | 4 +- tests/legacy/011.json | 4 +- tests/legacy/012.crlf.json | 10 +-- tests/legacy/012.json | 10 +-- tests/legacy/013.crlf.json | 10 +-- tests/legacy/013.json | 10 +-- tests/legacy/014.crlf.json | 10 +-- tests/legacy/014.json | 10 +-- tests/legacy/015.crlf.json | 6 +- tests/legacy/015.json | 6 +- tests/legacy/016.crlf.json | 4 +- tests/legacy/016.json | 4 +- tests/legacy/017.crlf.json | 4 +- tests/legacy/017.json | 4 +- tests/legacy/018.crlf.json | 6 +- tests/legacy/018.json | 6 +- tests/legacy/019.crlf.json | 10 +-- tests/legacy/019.json | 10 +-- tests/legacy/020.crlf.json | 10 +-- tests/legacy/020.json | 10 +-- tests/legacy/021.crlf.json | 10 +-- tests/legacy/021.json | 10 +-- tests/legacy/022.crlf.json | 10 +-- tests/legacy/022.json | 10 +-- tests/legacy/023.crlf.json | 4 +- tests/legacy/023.json | 4 +- tests/legacy/024.crlf.json | 6 +- tests/legacy/024.json | 6 +- tests/legacy/025.crlf.json | 6 +- tests/legacy/025.json | 6 +- tests/legacy/026.crlf.json | 4 +- tests/legacy/026.json | 4 +- tests/legacy/027.crlf.json | 10 +-- tests/legacy/027.json | 10 +-- tests/legacy/028.crlf.json | 10 +-- tests/legacy/028.json | 10 +-- tests/legacy/029.crlf.json | 6 +- tests/legacy/029.json | 6 +- tests/legacy/030.crlf.json | 4 +- tests/legacy/030.json | 4 +- tests/legacy/032.crlf.json | 4 +- tests/legacy/032.json | 4 +- tests/legacy/033.crlf.json | 6 +- tests/legacy/033.json | 6 +- tests/legacy/034.crlf.json | 4 +- tests/legacy/034.json | 4 +- tests/legacy/035.crlf.json | 4 +- tests/legacy/035.json | 4 +- tests/legacy/037.crlf.json | 4 +- tests/legacy/037.json | 4 +- tests/legacy/038.crlf.json | 4 +- tests/legacy/038.json | 4 +- tests/legacy/039.crlf.json | 4 +- tests/legacy/039.json | 4 +- tests/legacy/040.crlf.json | 4 +- tests/legacy/040.json | 4 +- tests/legacy/042.crlf.json | 4 +- tests/legacy/042.json | 4 +- tests/legacy/043.crlf.json | 4 +- tests/legacy/043.json | 4 +- tests/legacy/044.crlf.json | 4 +- tests/legacy/044.json | 4 +- tests/legacy/046.crlf.json | 4 +- tests/legacy/046.json | 4 +- tests/legacy/047.crlf.json | 4 +- tests/legacy/047.json | 4 +- tests/legacy/048.crlf.json | 4 +- tests/legacy/048.json | 4 +- tests/legacy/049.crlf.json | 10 +-- tests/legacy/049.json | 10 +-- tests/legacy/050.crlf.json | 6 +- tests/legacy/050.json | 6 +- tests/legacy/051.crlf.json | 6 +- tests/legacy/051.json | 6 +- tests/legacy/052.crlf.json | 10 +-- tests/legacy/052.json | 10 +-- tests/legacy/053.crlf.json | 10 +-- tests/legacy/053.json | 10 +-- tests/thirdparty/006.crlf.json | 2 +- tests/thirdparty/006.json | 2 +- tests/thirdparty/008.crlf.json | 159 +++++++++++++++------------------ tests/thirdparty/008.eml | 1 - tests/thirdparty/008.json | 159 +++++++++++++++------------------ tests/thirdparty/011.crlf.json | 4 +- tests/thirdparty/011.json | 4 +- tests/thirdparty/012.crlf.json | 117 +++++++++++------------- tests/thirdparty/012.eml | 1 - tests/thirdparty/012.json | 117 +++++++++++------------- 113 files changed, 615 insertions(+), 670 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db783de..04b176c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,13 @@ mail-parser 0.7.0 ================================ - Base64/QuotedPrintable decoding optimizations. -- Fixed support for empty messages. -- Fixed raw offsets of multipart/* parts to include MIME epilogue. - Automatic parsing of base64/qp encoded nested messages. - Refactoring or ``MessageStream`` to use iterators more efficiently. - Added "ludicrous mode" Cargo option to use some unsafe code for additional performance. - +- Fixed support for empty messages. +- Fixed raw offsets of multipart/* parts to include MIME epilogue. +- Fixed values of non-RFC headers. + mail-parser 0.6.1 ================================ - Support for malformed unstructured fields containing encoded words (#29). diff --git a/src/lib.rs b/src/lib.rs index cd5224a..8d69ab8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1727,6 +1727,7 @@ impl<'x> ContentType<'x> { } impl<'x> PartType<'x> { + #[allow(clippy::len_without_is_empty)] pub fn len(&self) -> usize { match self { PartType::Text(v) | PartType::Html(v) => v.len(), diff --git a/src/parsers/header.rs b/src/parsers/header.rs index cbe0335..c43ed1d 100644 --- a/src/parsers/header.rs +++ b/src/parsers/header.rs @@ -9,7 +9,7 @@ * except according to those terms. */ -use crate::{Header, HeaderName, HeaderValue, RfcHeader}; +use crate::{Header, HeaderName, RfcHeader}; use super::MessageStream; @@ -35,9 +35,9 @@ impl<'x> MessageStream<'x> { let offset_field = self.offset(); if let Some(header_name) = self.parse_header_name() { - if let HeaderName::Rfc(rfc_name) = &header_name { - let from_offset = self.offset(); - let value = match rfc_name { + let from_offset = self.offset(); + let value = if let HeaderName::Rfc(rfc_name) = &header_name { + match rfc_name { RfcHeader::Subject | RfcHeader::Comments | RfcHeader::ContentDescription @@ -75,29 +75,18 @@ impl<'x> MessageStream<'x> { RfcHeader::ContentType | RfcHeader::ContentDisposition => { self.parse_content_type() } - }; - - headers.push(Header { - name: header_name, - value, - offset_field, - offset_start: from_offset, - offset_end: self.offset(), - }); + } } else { - let from_offset = self.offset(); - self.parse_and_ignore(); + self.parse_raw() + }; - headers.push(Header { - name: header_name, - value: HeaderValue::Text(String::from_utf8_lossy( - self.get_bytes(from_offset..self.offset()), - )), - offset_field, - offset_start: from_offset, - offset_end: self.offset(), - }); - } + headers.push(Header { + name: header_name, + value, + offset_field, + offset_start: from_offset, + offset_end: self.offset(), + }); } else if self.is_eof() { return false; } diff --git a/tests/legacy/000.crlf.json b/tests/legacy/000.crlf.json index 55f6158..5265a58 100644 --- a/tests/legacy/000.crlf.json +++ b/tests/legacy/000.crlf.json @@ -145,7 +145,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 385, "offset_start": 396, @@ -156,7 +156,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 409, "offset_start": 427, @@ -167,7 +167,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 436, "offset_start": 445, @@ -178,7 +178,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 498, "offset_start": 509, @@ -189,7 +189,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 518, "offset_start": 528, diff --git a/tests/legacy/000.json b/tests/legacy/000.json index 55f6158..5265a58 100644 --- a/tests/legacy/000.json +++ b/tests/legacy/000.json @@ -145,7 +145,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 385, "offset_start": 396, @@ -156,7 +156,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 409, "offset_start": 427, @@ -167,7 +167,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 436, "offset_start": 445, @@ -178,7 +178,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 498, "offset_start": 509, @@ -189,7 +189,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 518, "offset_start": 528, diff --git a/tests/legacy/001.crlf.json b/tests/legacy/001.crlf.json index a8efe06..aa27da6 100644 --- a/tests/legacy/001.crlf.json +++ b/tests/legacy/001.crlf.json @@ -133,7 +133,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 437, "offset_start": 448, @@ -144,7 +144,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 461, "offset_start": 479, @@ -155,7 +155,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 488, "offset_start": 497, @@ -166,7 +166,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 550, "offset_start": 561, @@ -177,7 +177,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 570, "offset_start": 580, diff --git a/tests/legacy/001.json b/tests/legacy/001.json index 4afc2b6..730c06c 100644 --- a/tests/legacy/001.json +++ b/tests/legacy/001.json @@ -133,7 +133,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\n" + "Text": "3 (Normal)" }, "offset_field": 427, "offset_start": 438, @@ -144,7 +144,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\n" + "Text": "Normal" }, "offset_field": 450, "offset_start": 468, @@ -155,7 +155,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 476, "offset_start": 485, @@ -166,7 +166,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\n" + "Text": "Normal" }, "offset_field": 537, "offset_start": 548, @@ -177,7 +177,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 556, "offset_start": 566, diff --git a/tests/legacy/002.crlf.json b/tests/legacy/002.crlf.json index eda3387..1630470 100644 --- a/tests/legacy/002.crlf.json +++ b/tests/legacy/002.crlf.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/002.json b/tests/legacy/002.json index eda3387..1630470 100644 --- a/tests/legacy/002.json +++ b/tests/legacy/002.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/003.crlf.json b/tests/legacy/003.crlf.json index 117f60c..437234f 100644 --- a/tests/legacy/003.crlf.json +++ b/tests/legacy/003.crlf.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/003.json b/tests/legacy/003.json index 117f60c..437234f 100644 --- a/tests/legacy/003.json +++ b/tests/legacy/003.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/004.crlf.json b/tests/legacy/004.crlf.json index f476ea3..deba668 100644 --- a/tests/legacy/004.crlf.json +++ b/tests/legacy/004.crlf.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 5 (Lowest)\r\n" + "Text": "5 (Lowest)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/004.json b/tests/legacy/004.json index f476ea3..deba668 100644 --- a/tests/legacy/004.json +++ b/tests/legacy/004.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 5 (Lowest)\r\n" + "Text": "5 (Lowest)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/005.crlf.json b/tests/legacy/005.crlf.json index 7fae915..a125c2a 100644 --- a/tests/legacy/005.crlf.json +++ b/tests/legacy/005.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 384, "offset_start": 395, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 408, "offset_start": 426, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 435, "offset_start": 444, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 497, "offset_start": 508, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 517, "offset_start": 527, diff --git a/tests/legacy/005.json b/tests/legacy/005.json index 7fae915..a125c2a 100644 --- a/tests/legacy/005.json +++ b/tests/legacy/005.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 384, "offset_start": 395, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 408, "offset_start": 426, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 435, "offset_start": 444, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 497, "offset_start": 508, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 517, "offset_start": 527, diff --git a/tests/legacy/006.crlf.json b/tests/legacy/006.crlf.json index 7843719..c395eae 100644 --- a/tests/legacy/006.crlf.json +++ b/tests/legacy/006.crlf.json @@ -115,7 +115,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 331, "offset_start": 342, @@ -126,7 +126,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 355, "offset_start": 373, @@ -137,7 +137,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 382, "offset_start": 391, @@ -148,7 +148,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 444, "offset_start": 455, @@ -159,7 +159,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 464, "offset_start": 474, diff --git a/tests/legacy/006.json b/tests/legacy/006.json index 7843719..c395eae 100644 --- a/tests/legacy/006.json +++ b/tests/legacy/006.json @@ -115,7 +115,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 331, "offset_start": 342, @@ -126,7 +126,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 355, "offset_start": 373, @@ -137,7 +137,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 382, "offset_start": 391, @@ -148,7 +148,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 444, "offset_start": 455, @@ -159,7 +159,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 464, "offset_start": 474, diff --git a/tests/legacy/007.crlf.json b/tests/legacy/007.crlf.json index c052ef4..7116d6b 100644 --- a/tests/legacy/007.crlf.json +++ b/tests/legacy/007.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 408, "offset_start": 419, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 432, "offset_start": 450, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 459, "offset_start": 468, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 521, "offset_start": 532, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 541, "offset_start": 551, diff --git a/tests/legacy/007.json b/tests/legacy/007.json index c052ef4..7116d6b 100644 --- a/tests/legacy/007.json +++ b/tests/legacy/007.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 408, "offset_start": 419, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 432, "offset_start": 450, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 459, "offset_start": 468, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 521, "offset_start": 532, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 541, "offset_start": 551, diff --git a/tests/legacy/008.crlf.json b/tests/legacy/008.crlf.json index e85a3c6..65c6fa7 100644 --- a/tests/legacy/008.crlf.json +++ b/tests/legacy/008.crlf.json @@ -120,7 +120,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 354, "offset_start": 365, @@ -131,7 +131,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 378, "offset_start": 396, @@ -142,7 +142,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 405, "offset_start": 414, @@ -153,7 +153,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 467, "offset_start": 478, @@ -164,7 +164,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 487, "offset_start": 497, diff --git a/tests/legacy/008.json b/tests/legacy/008.json index e85a3c6..65c6fa7 100644 --- a/tests/legacy/008.json +++ b/tests/legacy/008.json @@ -120,7 +120,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 354, "offset_start": 365, @@ -131,7 +131,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 378, "offset_start": 396, @@ -142,7 +142,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 405, "offset_start": 414, @@ -153,7 +153,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 467, "offset_start": 478, @@ -164,7 +164,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 487, "offset_start": 497, diff --git a/tests/legacy/009.crlf.json b/tests/legacy/009.crlf.json index dc93790..a1fa53a 100644 --- a/tests/legacy/009.crlf.json +++ b/tests/legacy/009.crlf.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "Disposition-Notification-To" }, "value": { - "Text": " \r\n" + "Text": "" }, "offset_field": 113, "offset_start": 141, @@ -47,7 +47,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 166, "offset_start": 175, @@ -58,7 +58,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 1 (Highest)\r\n" + "Text": "1 (Highest)" }, "offset_field": 223, "offset_start": 234, diff --git a/tests/legacy/009.json b/tests/legacy/009.json index dc93790..a1fa53a 100644 --- a/tests/legacy/009.json +++ b/tests/legacy/009.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "Disposition-Notification-To" }, "value": { - "Text": " \r\n" + "Text": "" }, "offset_field": 113, "offset_start": 141, @@ -47,7 +47,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 166, "offset_start": 175, @@ -58,7 +58,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 1 (Highest)\r\n" + "Text": "1 (Highest)" }, "offset_field": 223, "offset_start": 234, diff --git a/tests/legacy/010.crlf.json b/tests/legacy/010.crlf.json index ff4be60..c987607 100644 --- a/tests/legacy/010.crlf.json +++ b/tests/legacy/010.crlf.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 1 (Highest)\r\n" + "Text": "1 (Highest)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/010.json b/tests/legacy/010.json index ff4be60..c987607 100644 --- a/tests/legacy/010.json +++ b/tests/legacy/010.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -47,7 +47,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 1 (Highest)\r\n" + "Text": "1 (Highest)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/011.crlf.json b/tests/legacy/011.crlf.json index 8d71554..549553d 100644 --- a/tests/legacy/011.crlf.json +++ b/tests/legacy/011.crlf.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/011.json b/tests/legacy/011.json index 8d71554..549553d 100644 --- a/tests/legacy/011.json +++ b/tests/legacy/011.json @@ -25,7 +25,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -36,7 +36,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/012.crlf.json b/tests/legacy/012.crlf.json index ae0f0b4..0e1eeaa 100644 --- a/tests/legacy/012.crlf.json +++ b/tests/legacy/012.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 401, "offset_start": 412, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 425, "offset_start": 443, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 452, "offset_start": 461, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 514, "offset_start": 525, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 534, "offset_start": 544, diff --git a/tests/legacy/012.json b/tests/legacy/012.json index ae0f0b4..0e1eeaa 100644 --- a/tests/legacy/012.json +++ b/tests/legacy/012.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 401, "offset_start": 412, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 425, "offset_start": 443, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 452, "offset_start": 461, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 514, "offset_start": 525, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 534, "offset_start": 544, diff --git a/tests/legacy/013.crlf.json b/tests/legacy/013.crlf.json index 2cd865b..89be171 100644 --- a/tests/legacy/013.crlf.json +++ b/tests/legacy/013.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 396, "offset_start": 407, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 420, "offset_start": 438, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 447, "offset_start": 456, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 509, "offset_start": 520, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 529, "offset_start": 539, diff --git a/tests/legacy/013.json b/tests/legacy/013.json index 2cd865b..89be171 100644 --- a/tests/legacy/013.json +++ b/tests/legacy/013.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 396, "offset_start": 407, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 420, "offset_start": 438, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 447, "offset_start": 456, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 509, "offset_start": 520, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 529, "offset_start": 539, diff --git a/tests/legacy/014.crlf.json b/tests/legacy/014.crlf.json index 0504121..5f2ebf0 100644 --- a/tests/legacy/014.crlf.json +++ b/tests/legacy/014.crlf.json @@ -116,7 +116,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 337, "offset_start": 348, @@ -127,7 +127,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 361, "offset_start": 379, @@ -138,7 +138,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 388, "offset_start": 397, @@ -149,7 +149,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 450, "offset_start": 461, @@ -160,7 +160,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 470, "offset_start": 480, diff --git a/tests/legacy/014.json b/tests/legacy/014.json index 0504121..5f2ebf0 100644 --- a/tests/legacy/014.json +++ b/tests/legacy/014.json @@ -116,7 +116,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 337, "offset_start": 348, @@ -127,7 +127,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 361, "offset_start": 379, @@ -138,7 +138,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 388, "offset_start": 397, @@ -149,7 +149,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 450, "offset_start": 461, @@ -160,7 +160,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 470, "offset_start": 480, diff --git a/tests/legacy/015.crlf.json b/tests/legacy/015.crlf.json index b6c2469..1f774bf 100644 --- a/tests/legacy/015.crlf.json +++ b/tests/legacy/015.crlf.json @@ -30,7 +30,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -41,7 +41,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -52,7 +52,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/015.json b/tests/legacy/015.json index b6c2469..1f774bf 100644 --- a/tests/legacy/015.json +++ b/tests/legacy/015.json @@ -30,7 +30,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -41,7 +41,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -52,7 +52,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/016.crlf.json b/tests/legacy/016.crlf.json index 9b01e2f..842881a 100644 --- a/tests/legacy/016.crlf.json +++ b/tests/legacy/016.crlf.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/016.json b/tests/legacy/016.json index 9b01e2f..842881a 100644 --- a/tests/legacy/016.json +++ b/tests/legacy/016.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/017.crlf.json b/tests/legacy/017.crlf.json index cc18b65..84cd36e 100644 --- a/tests/legacy/017.crlf.json +++ b/tests/legacy/017.crlf.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/017.json b/tests/legacy/017.json index cc18b65..84cd36e 100644 --- a/tests/legacy/017.json +++ b/tests/legacy/017.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/018.crlf.json b/tests/legacy/018.crlf.json index eaa23f5..01a0716 100644 --- a/tests/legacy/018.crlf.json +++ b/tests/legacy/018.crlf.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -50,7 +50,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/018.json b/tests/legacy/018.json index eaa23f5..01a0716 100644 --- a/tests/legacy/018.json +++ b/tests/legacy/018.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -50,7 +50,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/019.crlf.json b/tests/legacy/019.crlf.json index 45a7475..abce336 100644 --- a/tests/legacy/019.crlf.json +++ b/tests/legacy/019.crlf.json @@ -119,7 +119,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 331, "offset_start": 342, @@ -130,7 +130,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 355, "offset_start": 373, @@ -141,7 +141,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 382, "offset_start": 391, @@ -152,7 +152,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 444, "offset_start": 455, @@ -163,7 +163,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 464, "offset_start": 474, diff --git a/tests/legacy/019.json b/tests/legacy/019.json index 45a7475..abce336 100644 --- a/tests/legacy/019.json +++ b/tests/legacy/019.json @@ -119,7 +119,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 331, "offset_start": 342, @@ -130,7 +130,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 355, "offset_start": 373, @@ -141,7 +141,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 382, "offset_start": 391, @@ -152,7 +152,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 444, "offset_start": 455, @@ -163,7 +163,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 464, "offset_start": 474, diff --git a/tests/legacy/020.crlf.json b/tests/legacy/020.crlf.json index 29495aa..f55fc75 100644 --- a/tests/legacy/020.crlf.json +++ b/tests/legacy/020.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 350, "offset_start": 361, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 374, "offset_start": 392, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 401, "offset_start": 410, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 463, "offset_start": 474, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 483, "offset_start": 493, diff --git a/tests/legacy/020.json b/tests/legacy/020.json index 29495aa..f55fc75 100644 --- a/tests/legacy/020.json +++ b/tests/legacy/020.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 350, "offset_start": 361, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 374, "offset_start": 392, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 401, "offset_start": 410, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 463, "offset_start": 474, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 483, "offset_start": 493, diff --git a/tests/legacy/021.crlf.json b/tests/legacy/021.crlf.json index cfd5734..0ba2cd1 100644 --- a/tests/legacy/021.crlf.json +++ b/tests/legacy/021.crlf.json @@ -120,7 +120,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 331, "offset_start": 342, @@ -131,7 +131,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 355, "offset_start": 373, @@ -142,7 +142,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 382, "offset_start": 391, @@ -153,7 +153,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 444, "offset_start": 455, @@ -164,7 +164,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 464, "offset_start": 474, diff --git a/tests/legacy/021.json b/tests/legacy/021.json index cfd5734..0ba2cd1 100644 --- a/tests/legacy/021.json +++ b/tests/legacy/021.json @@ -120,7 +120,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 331, "offset_start": 342, @@ -131,7 +131,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 355, "offset_start": 373, @@ -142,7 +142,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 382, "offset_start": 391, @@ -153,7 +153,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 444, "offset_start": 455, @@ -164,7 +164,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 464, "offset_start": 474, diff --git a/tests/legacy/022.crlf.json b/tests/legacy/022.crlf.json index 6d8e26e..3751f8d 100644 --- a/tests/legacy/022.crlf.json +++ b/tests/legacy/022.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 352, "offset_start": 363, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 376, "offset_start": 394, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 403, "offset_start": 412, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 465, "offset_start": 476, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 485, "offset_start": 495, diff --git a/tests/legacy/022.json b/tests/legacy/022.json index 6d8e26e..3751f8d 100644 --- a/tests/legacy/022.json +++ b/tests/legacy/022.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 352, "offset_start": 363, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 376, "offset_start": 394, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 403, "offset_start": 412, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 465, "offset_start": 476, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 485, "offset_start": 495, diff --git a/tests/legacy/023.crlf.json b/tests/legacy/023.crlf.json index d84ce56..f918fde 100644 --- a/tests/legacy/023.crlf.json +++ b/tests/legacy/023.crlf.json @@ -29,7 +29,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -40,7 +40,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/023.json b/tests/legacy/023.json index d84ce56..f918fde 100644 --- a/tests/legacy/023.json +++ b/tests/legacy/023.json @@ -29,7 +29,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -40,7 +40,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/024.crlf.json b/tests/legacy/024.crlf.json index 57bc3ed..79a49e6 100644 --- a/tests/legacy/024.crlf.json +++ b/tests/legacy/024.crlf.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -50,7 +50,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/024.json b/tests/legacy/024.json index 57bc3ed..79a49e6 100644 --- a/tests/legacy/024.json +++ b/tests/legacy/024.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -50,7 +50,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/025.crlf.json b/tests/legacy/025.crlf.json index 43ee6f3..b814328 100644 --- a/tests/legacy/025.crlf.json +++ b/tests/legacy/025.crlf.json @@ -30,7 +30,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -41,7 +41,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -52,7 +52,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/025.json b/tests/legacy/025.json index 43ee6f3..b814328 100644 --- a/tests/legacy/025.json +++ b/tests/legacy/025.json @@ -30,7 +30,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -41,7 +41,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -52,7 +52,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/026.crlf.json b/tests/legacy/026.crlf.json index 97d891a..7d8d4cf 100644 --- a/tests/legacy/026.crlf.json +++ b/tests/legacy/026.crlf.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/026.json b/tests/legacy/026.json index 97d891a..7d8d4cf 100644 --- a/tests/legacy/026.json +++ b/tests/legacy/026.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, diff --git a/tests/legacy/027.crlf.json b/tests/legacy/027.crlf.json index 87a1238..2ff5d4d 100644 --- a/tests/legacy/027.crlf.json +++ b/tests/legacy/027.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 362, "offset_start": 373, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 386, "offset_start": 404, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 413, "offset_start": 422, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 475, "offset_start": 486, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 495, "offset_start": 505, diff --git a/tests/legacy/027.json b/tests/legacy/027.json index 87a1238..2ff5d4d 100644 --- a/tests/legacy/027.json +++ b/tests/legacy/027.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 362, "offset_start": 373, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 386, "offset_start": 404, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 413, "offset_start": 422, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 475, "offset_start": 486, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 495, "offset_start": 505, diff --git a/tests/legacy/028.crlf.json b/tests/legacy/028.crlf.json index 6d22b4d..c61a36a 100644 --- a/tests/legacy/028.crlf.json +++ b/tests/legacy/028.crlf.json @@ -119,7 +119,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 333, "offset_start": 344, @@ -130,7 +130,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 357, "offset_start": 375, @@ -141,7 +141,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 384, "offset_start": 393, @@ -152,7 +152,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 446, "offset_start": 457, @@ -163,7 +163,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 466, "offset_start": 476, diff --git a/tests/legacy/028.json b/tests/legacy/028.json index 6d22b4d..c61a36a 100644 --- a/tests/legacy/028.json +++ b/tests/legacy/028.json @@ -119,7 +119,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 333, "offset_start": 344, @@ -130,7 +130,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 357, "offset_start": 375, @@ -141,7 +141,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 384, "offset_start": 393, @@ -152,7 +152,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 446, "offset_start": 457, @@ -163,7 +163,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 466, "offset_start": 476, diff --git a/tests/legacy/029.crlf.json b/tests/legacy/029.crlf.json index 34a0c73..e534186 100644 --- a/tests/legacy/029.crlf.json +++ b/tests/legacy/029.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, @@ -118,7 +118,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 1 (Highest)\r\n" + "Text": "1 (Highest)" }, "offset_field": 294, "offset_start": 305, diff --git a/tests/legacy/029.json b/tests/legacy/029.json index 34a0c73..e534186 100644 --- a/tests/legacy/029.json +++ b/tests/legacy/029.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, @@ -118,7 +118,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 1 (Highest)\r\n" + "Text": "1 (Highest)" }, "offset_field": 294, "offset_start": 305, diff --git a/tests/legacy/030.crlf.json b/tests/legacy/030.crlf.json index d2bec78..3073847 100644 --- a/tests/legacy/030.crlf.json +++ b/tests/legacy/030.crlf.json @@ -68,7 +68,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -79,7 +79,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/030.json b/tests/legacy/030.json index d2bec78..3073847 100644 --- a/tests/legacy/030.json +++ b/tests/legacy/030.json @@ -68,7 +68,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -79,7 +79,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/032.crlf.json b/tests/legacy/032.crlf.json index fffc62c..396db72 100644 --- a/tests/legacy/032.crlf.json +++ b/tests/legacy/032.crlf.json @@ -67,7 +67,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -78,7 +78,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/032.json b/tests/legacy/032.json index fffc62c..396db72 100644 --- a/tests/legacy/032.json +++ b/tests/legacy/032.json @@ -67,7 +67,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -78,7 +78,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/033.crlf.json b/tests/legacy/033.crlf.json index 80ca0e5..3f33cfe 100644 --- a/tests/legacy/033.crlf.json +++ b/tests/legacy/033.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, @@ -118,7 +118,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 5 (Lowest)\r\n" + "Text": "5 (Lowest)" }, "offset_field": 294, "offset_start": 305, diff --git a/tests/legacy/033.json b/tests/legacy/033.json index 80ca0e5..3f33cfe 100644 --- a/tests/legacy/033.json +++ b/tests/legacy/033.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, @@ -118,7 +118,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 5 (Lowest)\r\n" + "Text": "5 (Lowest)" }, "offset_field": 294, "offset_start": 305, diff --git a/tests/legacy/034.crlf.json b/tests/legacy/034.crlf.json index 2371fb6..274c379 100644 --- a/tests/legacy/034.crlf.json +++ b/tests/legacy/034.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/034.json b/tests/legacy/034.json index 2371fb6..274c379 100644 --- a/tests/legacy/034.json +++ b/tests/legacy/034.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/035.crlf.json b/tests/legacy/035.crlf.json index 3a53a0a..7847538 100644 --- a/tests/legacy/035.crlf.json +++ b/tests/legacy/035.crlf.json @@ -69,7 +69,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -80,7 +80,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/035.json b/tests/legacy/035.json index 3a53a0a..7847538 100644 --- a/tests/legacy/035.json +++ b/tests/legacy/035.json @@ -69,7 +69,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -80,7 +80,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/037.crlf.json b/tests/legacy/037.crlf.json index 11d4993..46c30d6 100644 --- a/tests/legacy/037.crlf.json +++ b/tests/legacy/037.crlf.json @@ -64,7 +64,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -75,7 +75,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/037.json b/tests/legacy/037.json index 11d4993..46c30d6 100644 --- a/tests/legacy/037.json +++ b/tests/legacy/037.json @@ -64,7 +64,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -75,7 +75,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/038.crlf.json b/tests/legacy/038.crlf.json index 729874c..e9d0ce6 100644 --- a/tests/legacy/038.crlf.json +++ b/tests/legacy/038.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/038.json b/tests/legacy/038.json index 729874c..e9d0ce6 100644 --- a/tests/legacy/038.json +++ b/tests/legacy/038.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/039.crlf.json b/tests/legacy/039.crlf.json index 432edec..c4f490e 100644 --- a/tests/legacy/039.crlf.json +++ b/tests/legacy/039.crlf.json @@ -69,7 +69,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -80,7 +80,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/039.json b/tests/legacy/039.json index 432edec..c4f490e 100644 --- a/tests/legacy/039.json +++ b/tests/legacy/039.json @@ -69,7 +69,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -80,7 +80,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/040.crlf.json b/tests/legacy/040.crlf.json index 7b16c79..e43cbfd 100644 --- a/tests/legacy/040.crlf.json +++ b/tests/legacy/040.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/040.json b/tests/legacy/040.json index 7b16c79..e43cbfd 100644 --- a/tests/legacy/040.json +++ b/tests/legacy/040.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/042.crlf.json b/tests/legacy/042.crlf.json index 8d15372..65845bc 100644 --- a/tests/legacy/042.crlf.json +++ b/tests/legacy/042.crlf.json @@ -62,7 +62,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -73,7 +73,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/042.json b/tests/legacy/042.json index 8d15372..65845bc 100644 --- a/tests/legacy/042.json +++ b/tests/legacy/042.json @@ -62,7 +62,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -73,7 +73,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/043.crlf.json b/tests/legacy/043.crlf.json index dd63382..046d3b2 100644 --- a/tests/legacy/043.crlf.json +++ b/tests/legacy/043.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 125, "offset_start": 134, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 164, "offset_start": 182, diff --git a/tests/legacy/043.json b/tests/legacy/043.json index dd63382..046d3b2 100644 --- a/tests/legacy/043.json +++ b/tests/legacy/043.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 125, "offset_start": 134, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 164, "offset_start": 182, diff --git a/tests/legacy/044.crlf.json b/tests/legacy/044.crlf.json index 9db0b38..6ac3fd0 100644 --- a/tests/legacy/044.crlf.json +++ b/tests/legacy/044.crlf.json @@ -70,7 +70,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -81,7 +81,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/044.json b/tests/legacy/044.json index 9db0b38..6ac3fd0 100644 --- a/tests/legacy/044.json +++ b/tests/legacy/044.json @@ -70,7 +70,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -81,7 +81,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/046.crlf.json b/tests/legacy/046.crlf.json index 86ae6c4..6359624 100644 --- a/tests/legacy/046.crlf.json +++ b/tests/legacy/046.crlf.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/046.json b/tests/legacy/046.json index 86ae6c4..6359624 100644 --- a/tests/legacy/046.json +++ b/tests/legacy/046.json @@ -60,7 +60,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -71,7 +71,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/047.crlf.json b/tests/legacy/047.crlf.json index 3c4990b..1cd9085 100644 --- a/tests/legacy/047.crlf.json +++ b/tests/legacy/047.crlf.json @@ -62,7 +62,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -73,7 +73,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/047.json b/tests/legacy/047.json index 3c4990b..1cd9085 100644 --- a/tests/legacy/047.json +++ b/tests/legacy/047.json @@ -62,7 +62,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -73,7 +73,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/048.crlf.json b/tests/legacy/048.crlf.json index f0dd6f4..e05a818 100644 --- a/tests/legacy/048.crlf.json +++ b/tests/legacy/048.crlf.json @@ -70,7 +70,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -81,7 +81,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/048.json b/tests/legacy/048.json index f0dd6f4..e05a818 100644 --- a/tests/legacy/048.json +++ b/tests/legacy/048.json @@ -70,7 +70,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Mozilla 4.7 [en] (WinNT; I)\r\n" + "Text": "Mozilla 4.7 [en] (WinNT; I)" }, "offset_field": 126, "offset_start": 135, @@ -81,7 +81,7 @@ "Other": "X-Accept-Language" }, "value": { - "Text": " en\r\n" + "Text": "en" }, "offset_field": 165, "offset_start": 183, diff --git a/tests/legacy/049.crlf.json b/tests/legacy/049.crlf.json index fe4e9b2..151c8e2 100644 --- a/tests/legacy/049.crlf.json +++ b/tests/legacy/049.crlf.json @@ -85,7 +85,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 225, "offset_start": 236, @@ -96,7 +96,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 249, "offset_start": 267, @@ -107,7 +107,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 276, "offset_start": 285, @@ -118,7 +118,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 338, "offset_start": 349, @@ -129,7 +129,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 358, "offset_start": 368, diff --git a/tests/legacy/049.json b/tests/legacy/049.json index fe4e9b2..151c8e2 100644 --- a/tests/legacy/049.json +++ b/tests/legacy/049.json @@ -85,7 +85,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 225, "offset_start": 236, @@ -96,7 +96,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 249, "offset_start": 267, @@ -107,7 +107,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 276, "offset_start": 285, @@ -118,7 +118,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 338, "offset_start": 349, @@ -129,7 +129,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 358, "offset_start": 368, diff --git a/tests/legacy/050.crlf.json b/tests/legacy/050.crlf.json index 0c16b4c..d549427 100644 --- a/tests/legacy/050.crlf.json +++ b/tests/legacy/050.crlf.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -50,7 +50,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/050.json b/tests/legacy/050.json index 0c16b4c..d549427 100644 --- a/tests/legacy/050.json +++ b/tests/legacy/050.json @@ -28,7 +28,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -39,7 +39,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -50,7 +50,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/051.crlf.json b/tests/legacy/051.crlf.json index e5ab4a9..d8d00d9 100644 --- a/tests/legacy/051.crlf.json +++ b/tests/legacy/051.crlf.json @@ -30,7 +30,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -41,7 +41,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -52,7 +52,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/051.json b/tests/legacy/051.json index e5ab4a9..d8d00d9 100644 --- a/tests/legacy/051.json +++ b/tests/legacy/051.json @@ -30,7 +30,7 @@ "Other": "X-Sender" }, "value": { - "Text": " dwsauder@pop.example.com (Unverified)\r\n" + "Text": "dwsauder@pop.example.com (Unverified)" }, "offset_field": 64, "offset_start": 73, @@ -41,7 +41,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n" + "Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58" }, "offset_field": 113, "offset_start": 122, @@ -52,7 +52,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 2 (High)\r\n" + "Text": "2 (High)" }, "offset_field": 170, "offset_start": 181, diff --git a/tests/legacy/052.crlf.json b/tests/legacy/052.crlf.json index fbb1531..715f1e4 100644 --- a/tests/legacy/052.crlf.json +++ b/tests/legacy/052.crlf.json @@ -85,7 +85,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 241, "offset_start": 252, @@ -96,7 +96,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 265, "offset_start": 283, @@ -107,7 +107,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 292, "offset_start": 301, @@ -118,7 +118,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 354, "offset_start": 365, @@ -129,7 +129,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 374, "offset_start": 384, diff --git a/tests/legacy/052.json b/tests/legacy/052.json index fbb1531..715f1e4 100644 --- a/tests/legacy/052.json +++ b/tests/legacy/052.json @@ -85,7 +85,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 241, "offset_start": 252, @@ -96,7 +96,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 265, "offset_start": 283, @@ -107,7 +107,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 292, "offset_start": 301, @@ -118,7 +118,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 354, "offset_start": 365, @@ -129,7 +129,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 374, "offset_start": 384, diff --git a/tests/legacy/053.crlf.json b/tests/legacy/053.crlf.json index 7508da8..a512cd4 100644 --- a/tests/legacy/053.crlf.json +++ b/tests/legacy/053.crlf.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 386, "offset_start": 397, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 410, "offset_start": 428, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 437, "offset_start": 446, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 499, "offset_start": 510, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 519, "offset_start": 529, diff --git a/tests/legacy/053.json b/tests/legacy/053.json index 7508da8..a512cd4 100644 --- a/tests/legacy/053.json +++ b/tests/legacy/053.json @@ -127,7 +127,7 @@ "Other": "X-Priority" }, "value": { - "Text": " 3 (Normal)\r\n" + "Text": "3 (Normal)" }, "offset_field": 386, "offset_start": 397, @@ -138,7 +138,7 @@ "Other": "X-MSMail-Priority" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 410, "offset_start": 428, @@ -149,7 +149,7 @@ "Other": "X-Mailer" }, "value": { - "Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n" + "Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" }, "offset_field": 437, "offset_start": 446, @@ -160,7 +160,7 @@ "Other": "Importance" }, "value": { - "Text": " Normal\r\n" + "Text": "Normal" }, "offset_field": 499, "offset_start": 510, @@ -171,7 +171,7 @@ "Other": "X-MimeOLE" }, "value": { - "Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n" + "Text": "Produced By Microsoft MimeOLE V5.00.2314.1300" }, "offset_field": 519, "offset_start": 529, diff --git a/tests/thirdparty/006.crlf.json b/tests/thirdparty/006.crlf.json index 139c515..247a633 100644 --- a/tests/thirdparty/006.crlf.json +++ b/tests/thirdparty/006.crlf.json @@ -99,7 +99,7 @@ "Other": "X-Signature-Type" }, "value": { - "Text": " penmanship\r\n" + "Text": "penmanship" }, "offset_field": 185, "offset_start": 202, diff --git a/tests/thirdparty/006.json b/tests/thirdparty/006.json index 1d793b8..cd4d7cb 100644 --- a/tests/thirdparty/006.json +++ b/tests/thirdparty/006.json @@ -99,7 +99,7 @@ "Other": "X-Signature-Type" }, "value": { - "Text": " penmanship\n" + "Text": "penmanship" }, "offset_field": 179, "offset_start": 196, diff --git a/tests/thirdparty/008.crlf.json b/tests/thirdparty/008.crlf.json index 598690c..8ed6677 100644 --- a/tests/thirdparty/008.crlf.json +++ b/tests/thirdparty/008.crlf.json @@ -12,17 +12,6 @@ "parts": [ { "headers": [ - { - "name": { - "Other": "From user@domain Fri Feb 22 17" - }, - "value": { - "Text": "06:23 2008\r\n" - }, - "offset_field": 0, - "offset_start": 32, - "offset_end": 44 - }, { "name": { "Rfc": "from" @@ -33,9 +22,9 @@ "address": "user@domain.org" } }, - "offset_field": 44, - "offset_start": 49, - "offset_end": 67 + "offset_field": 0, + "offset_start": 5, + "offset_end": 23 }, { "name": { @@ -54,9 +43,9 @@ "tz_minute": 0 } }, - "offset_field": 67, - "offset_start": 72, - "offset_end": 106 + "offset_field": 23, + "offset_start": 28, + "offset_end": 62 }, { "name": { @@ -65,9 +54,9 @@ "value": { "Text": "1.0" }, - "offset_field": 106, - "offset_start": 119, - "offset_end": 125 + "offset_field": 62, + "offset_start": 75, + "offset_end": 81 }, { "name": { @@ -85,9 +74,9 @@ ] } }, - "offset_field": 125, - "offset_start": 138, - "offset_end": 176 + "offset_field": 81, + "offset_start": 94, + "offset_end": 132 } ], "is_encoding_problem": false, @@ -99,8 +88,8 @@ ] }, "offset_header": 0, - "offset_body": 178, - "offset_end": 866 + "offset_body": 134, + "offset_end": 822 }, { "headers": [ @@ -120,18 +109,18 @@ ] } }, - "offset_field": 211, - "offset_start": 224, - "offset_end": 257 + "offset_field": 167, + "offset_start": 180, + "offset_end": 213 } ], "is_encoding_problem": false, "body": { "Text": "hello\r\n" }, - "offset_header": 211, - "offset_body": 259, - "offset_end": 266 + "offset_header": 167, + "offset_body": 215, + "offset_end": 222 }, { "headers": [ @@ -146,9 +135,9 @@ "attributes": null } }, - "offset_field": 279, - "offset_start": 292, - "offset_end": 309 + "offset_field": 235, + "offset_start": 248, + "offset_end": 265 } ], "is_encoding_problem": false, @@ -177,9 +166,9 @@ "address": "sub@domain.org" } }, - "offset_field": 311, - "offset_start": 316, - "offset_end": 333 + "offset_field": 267, + "offset_start": 272, + "offset_end": 289 }, { "name": { @@ -198,9 +187,9 @@ "tz_minute": 0 } }, - "offset_field": 333, - "offset_start": 338, - "offset_end": 372 + "offset_field": 289, + "offset_start": 294, + "offset_end": 328 }, { "name": { @@ -209,9 +198,9 @@ "value": { "Text": "submsg" }, - "offset_field": 372, - "offset_start": 380, - "offset_end": 389 + "offset_field": 328, + "offset_start": 336, + "offset_end": 345 }, { "name": { @@ -229,9 +218,9 @@ ] } }, - "offset_field": 389, - "offset_start": 402, - "offset_end": 443 + "offset_field": 345, + "offset_start": 358, + "offset_end": 399 } ], "is_encoding_problem": false, @@ -241,9 +230,9 @@ 2 ] }, - "offset_header": 311, - "offset_body": 445, - "offset_end": 776 + "offset_header": 267, + "offset_body": 401, + "offset_end": 732 }, { "headers": [ @@ -258,18 +247,18 @@ "attributes": null } }, - "offset_field": 472, - "offset_start": 485, - "offset_end": 497 + "offset_field": 428, + "offset_start": 441, + "offset_end": 453 } ], "is_encoding_problem": false, "body": { "Html": "

Hello world

\r\n" }, - "offset_header": 472, - "offset_body": 499, - "offset_end": 519 + "offset_header": 428, + "offset_body": 455, + "offset_end": 475 }, { "headers": [ @@ -289,9 +278,9 @@ ] } }, - "offset_field": 529, - "offset_start": 542, - "offset_end": 583 + "offset_field": 485, + "offset_start": 498, + "offset_end": 539 } ], "is_encoding_problem": false, @@ -301,9 +290,9 @@ 6 ] }, - "offset_header": 529, - "offset_body": 585, - "offset_end": 745 + "offset_header": 485, + "offset_body": 541, + "offset_end": 701 }, { "headers": [ @@ -323,9 +312,9 @@ ] } }, - "offset_field": 593, - "offset_start": 606, - "offset_end": 647 + "offset_field": 549, + "offset_start": 562, + "offset_end": 603 } ], "is_encoding_problem": false, @@ -335,9 +324,9 @@ 5 ] }, - "offset_header": 593, - "offset_body": 649, - "offset_end": 713 + "offset_header": 549, + "offset_body": 605, + "offset_end": 669 }, { "headers": [], @@ -345,9 +334,9 @@ "body": { "Text": "sub3 text" }, - "offset_header": 657, - "offset_body": 659, - "offset_end": 668 + "offset_header": 613, + "offset_body": 615, + "offset_end": 624 }, { "headers": [], @@ -355,9 +344,9 @@ "body": { "Text": "sub3 text2" }, - "offset_header": 678, - "offset_body": 680, - "offset_end": 690 + "offset_header": 634, + "offset_body": 636, + "offset_end": 646 }, { "headers": [], @@ -365,16 +354,16 @@ "body": { "Text": "sub2 text2" }, - "offset_header": 723, - "offset_body": 725, - "offset_end": 735 + "offset_header": 679, + "offset_body": 681, + "offset_end": 691 } ] } }, - "offset_header": 279, - "offset_body": 311, - "offset_end": 776 + "offset_header": 235, + "offset_body": 267, + "offset_end": 732 }, { "headers": [ @@ -389,18 +378,18 @@ "attributes": null } }, - "offset_field": 789, - "offset_start": 802, - "offset_end": 815 + "offset_field": 745, + "offset_start": 758, + "offset_end": 771 } ], "is_encoding_problem": false, "body": { "Text": "Another part" }, - "offset_header": 789, - "offset_body": 817, - "offset_end": 829 + "offset_header": 745, + "offset_body": 773, + "offset_end": 785 } ] } \ No newline at end of file diff --git a/tests/thirdparty/008.eml b/tests/thirdparty/008.eml index a7c9d71..57f4a0f 100644 --- a/tests/thirdparty/008.eml +++ b/tests/thirdparty/008.eml @@ -1,4 +1,3 @@ -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 diff --git a/tests/thirdparty/008.json b/tests/thirdparty/008.json index 386d76b..e336628 100644 --- a/tests/thirdparty/008.json +++ b/tests/thirdparty/008.json @@ -12,17 +12,6 @@ "parts": [ { "headers": [ - { - "name": { - "Other": "From user@domain Fri Feb 22 17" - }, - "value": { - "Text": "06:23 2008\n" - }, - "offset_field": 0, - "offset_start": 32, - "offset_end": 43 - }, { "name": { "Rfc": "from" @@ -33,9 +22,9 @@ "address": "user@domain.org" } }, - "offset_field": 43, - "offset_start": 48, - "offset_end": 65 + "offset_field": 0, + "offset_start": 5, + "offset_end": 22 }, { "name": { @@ -54,9 +43,9 @@ "tz_minute": 0 } }, - "offset_field": 65, - "offset_start": 70, - "offset_end": 103 + "offset_field": 22, + "offset_start": 27, + "offset_end": 60 }, { "name": { @@ -65,9 +54,9 @@ "value": { "Text": "1.0" }, - "offset_field": 103, - "offset_start": 116, - "offset_end": 121 + "offset_field": 60, + "offset_start": 73, + "offset_end": 78 }, { "name": { @@ -85,9 +74,9 @@ ] } }, - "offset_field": 121, - "offset_start": 134, - "offset_end": 171 + "offset_field": 78, + "offset_start": 91, + "offset_end": 128 } ], "is_encoding_problem": false, @@ -99,8 +88,8 @@ ] }, "offset_header": 0, - "offset_body": 172, - "offset_end": 810 + "offset_body": 129, + "offset_end": 767 }, { "headers": [ @@ -120,18 +109,18 @@ ] } }, - "offset_field": 202, - "offset_start": 215, - "offset_end": 247 + "offset_field": 159, + "offset_start": 172, + "offset_end": 204 } ], "is_encoding_problem": false, "body": { "Text": "hello\n" }, - "offset_header": 202, - "offset_body": 248, - "offset_end": 254 + "offset_header": 159, + "offset_body": 205, + "offset_end": 211 }, { "headers": [ @@ -146,9 +135,9 @@ "attributes": null } }, - "offset_field": 265, - "offset_start": 278, - "offset_end": 294 + "offset_field": 222, + "offset_start": 235, + "offset_end": 251 } ], "is_encoding_problem": false, @@ -177,9 +166,9 @@ "address": "sub@domain.org" } }, - "offset_field": 295, - "offset_start": 300, - "offset_end": 316 + "offset_field": 252, + "offset_start": 257, + "offset_end": 273 }, { "name": { @@ -198,9 +187,9 @@ "tz_minute": 0 } }, - "offset_field": 316, - "offset_start": 321, - "offset_end": 354 + "offset_field": 273, + "offset_start": 278, + "offset_end": 311 }, { "name": { @@ -209,9 +198,9 @@ "value": { "Text": "submsg" }, - "offset_field": 354, - "offset_start": 362, - "offset_end": 370 + "offset_field": 311, + "offset_start": 319, + "offset_end": 327 }, { "name": { @@ -229,9 +218,9 @@ ] } }, - "offset_field": 370, - "offset_start": 383, - "offset_end": 423 + "offset_field": 327, + "offset_start": 340, + "offset_end": 380 } ], "is_encoding_problem": false, @@ -241,9 +230,9 @@ 2 ] }, - "offset_header": 295, - "offset_body": 424, - "offset_end": 728 + "offset_header": 252, + "offset_body": 381, + "offset_end": 685 }, { "headers": [ @@ -258,18 +247,18 @@ "attributes": null } }, - "offset_field": 449, - "offset_start": 462, - "offset_end": 473 + "offset_field": 406, + "offset_start": 419, + "offset_end": 430 } ], "is_encoding_problem": false, "body": { "Html": "

Hello world

\n" }, - "offset_header": 449, - "offset_body": 474, - "offset_end": 493 + "offset_header": 406, + "offset_body": 431, + "offset_end": 450 }, { "headers": [ @@ -289,9 +278,9 @@ ] } }, - "offset_field": 501, - "offset_start": 514, - "offset_end": 554 + "offset_field": 458, + "offset_start": 471, + "offset_end": 511 } ], "is_encoding_problem": false, @@ -301,9 +290,9 @@ 6 ] }, - "offset_header": 501, - "offset_body": 555, - "offset_end": 700 + "offset_header": 458, + "offset_body": 512, + "offset_end": 657 }, { "headers": [ @@ -323,9 +312,9 @@ ] } }, - "offset_field": 562, - "offset_start": 575, - "offset_end": 615 + "offset_field": 519, + "offset_start": 532, + "offset_end": 572 } ], "is_encoding_problem": false, @@ -335,9 +324,9 @@ 5 ] }, - "offset_header": 562, - "offset_body": 616, - "offset_end": 672 + "offset_header": 519, + "offset_body": 573, + "offset_end": 629 }, { "headers": [], @@ -345,9 +334,9 @@ "body": { "Text": "sub3 text" }, - "offset_header": 623, - "offset_body": 624, - "offset_end": 633 + "offset_header": 580, + "offset_body": 581, + "offset_end": 590 }, { "headers": [], @@ -355,9 +344,9 @@ "body": { "Text": "sub3 text2" }, - "offset_header": 641, - "offset_body": 642, - "offset_end": 652 + "offset_header": 598, + "offset_body": 599, + "offset_end": 609 }, { "headers": [], @@ -365,16 +354,16 @@ "body": { "Text": "sub2 text2" }, - "offset_header": 680, - "offset_body": 681, - "offset_end": 691 + "offset_header": 637, + "offset_body": 638, + "offset_end": 648 } ] } }, - "offset_header": 265, - "offset_body": 295, - "offset_end": 728 + "offset_header": 222, + "offset_body": 252, + "offset_end": 685 }, { "headers": [ @@ -389,18 +378,18 @@ "attributes": null } }, - "offset_field": 739, - "offset_start": 752, - "offset_end": 764 + "offset_field": 696, + "offset_start": 709, + "offset_end": 721 } ], "is_encoding_problem": false, "body": { "Text": "Another part" }, - "offset_header": 739, - "offset_body": 765, - "offset_end": 777 + "offset_header": 696, + "offset_body": 722, + "offset_end": 734 } ] } \ No newline at end of file diff --git a/tests/thirdparty/011.crlf.json b/tests/thirdparty/011.crlf.json index ffe6875..6522526 100644 --- a/tests/thirdparty/011.crlf.json +++ b/tests/thirdparty/011.crlf.json @@ -27,7 +27,7 @@ "Other": "Delivered-To" }, "value": { - "Text": " admin@xyz-webserver.abcd-gestion.local\r\n" + "Text": "admin@xyz-webserver.abcd-gestion.local" }, "offset_field": 53, "offset_start": 66, @@ -112,7 +112,7 @@ "Other": "User-Agent" }, "value": { - "Text": " Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101\r\n Thunderbird/91.11.0\r\n" + "Text": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101\r\n Thunderbird/91.11.0" }, "offset_field": 470, "offset_start": 481, diff --git a/tests/thirdparty/011.json b/tests/thirdparty/011.json index 5bcb604..3e343ac 100644 --- a/tests/thirdparty/011.json +++ b/tests/thirdparty/011.json @@ -27,7 +27,7 @@ "Other": "Delivered-To" }, "value": { - "Text": " admin@xyz-webserver.abcd-gestion.local\n" + "Text": "admin@xyz-webserver.abcd-gestion.local" }, "offset_field": 52, "offset_start": 65, @@ -112,7 +112,7 @@ "Other": "User-Agent" }, "value": { - "Text": " Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101\n Thunderbird/91.11.0\n" + "Text": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101\n Thunderbird/91.11.0" }, "offset_field": 460, "offset_start": 471, diff --git a/tests/thirdparty/012.crlf.json b/tests/thirdparty/012.crlf.json index 7c01bec..d7f9e33 100644 --- a/tests/thirdparty/012.crlf.json +++ b/tests/thirdparty/012.crlf.json @@ -8,17 +8,6 @@ "parts": [ { "headers": [ - { - "name": { - "Other": "From user@domain Fri Feb 22 17" - }, - "value": { - "Text": "06:23 2008\r\n" - }, - "offset_field": 0, - "offset_start": 32, - "offset_end": 44 - }, { "name": { "Rfc": "from" @@ -29,9 +18,9 @@ "address": "user@domain.org" } }, - "offset_field": 44, - "offset_start": 49, - "offset_end": 67 + "offset_field": 0, + "offset_start": 5, + "offset_end": 23 }, { "name": { @@ -50,9 +39,9 @@ "tz_minute": 0 } }, - "offset_field": 67, - "offset_start": 72, - "offset_end": 106 + "offset_field": 23, + "offset_start": 28, + "offset_end": 62 }, { "name": { @@ -61,9 +50,9 @@ "value": { "Text": "1.0" }, - "offset_field": 106, - "offset_start": 119, - "offset_end": 125 + "offset_field": 62, + "offset_start": 75, + "offset_end": 81 }, { "name": { @@ -81,9 +70,9 @@ ] } }, - "offset_field": 125, - "offset_start": 138, - "offset_end": 178 + "offset_field": 81, + "offset_start": 94, + "offset_end": 134 } ], "is_encoding_problem": false, @@ -94,8 +83,8 @@ ] }, "offset_header": 0, - "offset_body": 180, - "offset_end": 644 + "offset_body": 136, + "offset_end": 600 }, { "headers": [ @@ -115,18 +104,18 @@ ] } }, - "offset_field": 213, - "offset_start": 226, - "offset_end": 259 + "offset_field": 169, + "offset_start": 182, + "offset_end": 215 } ], "is_encoding_problem": false, "body": { "Text": "hello\r\n" }, - "offset_header": 213, - "offset_body": 261, - "offset_end": 268 + "offset_header": 169, + "offset_body": 217, + "offset_end": 224 }, { "headers": [ @@ -141,9 +130,9 @@ "attributes": null } }, - "offset_field": 281, - "offset_start": 294, - "offset_end": 311 + "offset_field": 237, + "offset_start": 250, + "offset_end": 267 } ], "is_encoding_problem": false, @@ -169,9 +158,9 @@ "address": "sub@domain.org" } }, - "offset_field": 313, - "offset_start": 318, - "offset_end": 335 + "offset_field": 269, + "offset_start": 274, + "offset_end": 291 }, { "name": { @@ -190,9 +179,9 @@ "tz_minute": 0 } }, - "offset_field": 335, - "offset_start": 340, - "offset_end": 374 + "offset_field": 291, + "offset_start": 296, + "offset_end": 330 }, { "name": { @@ -201,9 +190,9 @@ "value": { "Text": "submsg" }, - "offset_field": 374, - "offset_start": 382, - "offset_end": 391 + "offset_field": 330, + "offset_start": 338, + "offset_end": 347 }, { "name": { @@ -221,9 +210,9 @@ ] } }, - "offset_field": 391, - "offset_start": 404, - "offset_end": 445 + "offset_field": 347, + "offset_start": 360, + "offset_end": 401 } ], "is_encoding_problem": false, @@ -233,9 +222,9 @@ 2 ] }, - "offset_header": 313, - "offset_body": 447, - "offset_end": 611 + "offset_header": 269, + "offset_body": 403, + "offset_end": 567 }, { "headers": [ @@ -250,18 +239,18 @@ "attributes": null } }, - "offset_field": 474, - "offset_start": 487, - "offset_end": 499 + "offset_field": 430, + "offset_start": 443, + "offset_end": 455 } ], "is_encoding_problem": false, "body": { "Html": "

Hello world

\r\n" }, - "offset_header": 474, - "offset_body": 501, - "offset_end": 521 + "offset_header": 430, + "offset_body": 457, + "offset_end": 477 }, { "headers": [ @@ -276,25 +265,25 @@ "attributes": null } }, - "offset_field": 531, - "offset_start": 544, - "offset_end": 557 + "offset_field": 487, + "offset_start": 500, + "offset_end": 513 } ], "is_encoding_problem": false, "body": { "Text": "Hello another world\r\n" }, - "offset_header": 531, - "offset_body": 559, - "offset_end": 580 + "offset_header": 487, + "offset_body": 515, + "offset_end": 536 } ] } }, - "offset_header": 281, - "offset_body": 313, - "offset_end": 611 + "offset_header": 237, + "offset_body": 269, + "offset_end": 567 } ] } \ No newline at end of file diff --git a/tests/thirdparty/012.eml b/tests/thirdparty/012.eml index 2dfae77..7b245d2 100644 --- a/tests/thirdparty/012.eml +++ b/tests/thirdparty/012.eml @@ -1,4 +1,3 @@ -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 diff --git a/tests/thirdparty/012.json b/tests/thirdparty/012.json index 143b0e9..62dc1fc 100644 --- a/tests/thirdparty/012.json +++ b/tests/thirdparty/012.json @@ -8,17 +8,6 @@ "parts": [ { "headers": [ - { - "name": { - "Other": "From user@domain Fri Feb 22 17" - }, - "value": { - "Text": "06:23 2008\n" - }, - "offset_field": 0, - "offset_start": 32, - "offset_end": 43 - }, { "name": { "Rfc": "from" @@ -29,9 +18,9 @@ "address": "user@domain.org" } }, - "offset_field": 43, - "offset_start": 48, - "offset_end": 65 + "offset_field": 0, + "offset_start": 5, + "offset_end": 22 }, { "name": { @@ -50,9 +39,9 @@ "tz_minute": 0 } }, - "offset_field": 65, - "offset_start": 70, - "offset_end": 103 + "offset_field": 22, + "offset_start": 27, + "offset_end": 60 }, { "name": { @@ -61,9 +50,9 @@ "value": { "Text": "1.0" }, - "offset_field": 103, - "offset_start": 116, - "offset_end": 121 + "offset_field": 60, + "offset_start": 73, + "offset_end": 78 }, { "name": { @@ -81,9 +70,9 @@ ] } }, - "offset_field": 121, - "offset_start": 134, - "offset_end": 172 + "offset_field": 78, + "offset_start": 91, + "offset_end": 129 } ], "is_encoding_problem": false, @@ -94,8 +83,8 @@ ] }, "offset_header": 0, - "offset_body": 173, - "offset_end": 607 + "offset_body": 130, + "offset_end": 564 }, { "headers": [ @@ -115,18 +104,18 @@ ] } }, - "offset_field": 203, - "offset_start": 216, - "offset_end": 248 + "offset_field": 160, + "offset_start": 173, + "offset_end": 205 } ], "is_encoding_problem": false, "body": { "Text": "hello\n" }, - "offset_header": 203, - "offset_body": 249, - "offset_end": 255 + "offset_header": 160, + "offset_body": 206, + "offset_end": 212 }, { "headers": [ @@ -141,9 +130,9 @@ "attributes": null } }, - "offset_field": 266, - "offset_start": 279, - "offset_end": 295 + "offset_field": 223, + "offset_start": 236, + "offset_end": 252 } ], "is_encoding_problem": false, @@ -169,9 +158,9 @@ "address": "sub@domain.org" } }, - "offset_field": 296, - "offset_start": 301, - "offset_end": 317 + "offset_field": 253, + "offset_start": 258, + "offset_end": 274 }, { "name": { @@ -190,9 +179,9 @@ "tz_minute": 0 } }, - "offset_field": 317, - "offset_start": 322, - "offset_end": 355 + "offset_field": 274, + "offset_start": 279, + "offset_end": 312 }, { "name": { @@ -201,9 +190,9 @@ "value": { "Text": "submsg" }, - "offset_field": 355, - "offset_start": 363, - "offset_end": 371 + "offset_field": 312, + "offset_start": 320, + "offset_end": 328 }, { "name": { @@ -221,9 +210,9 @@ ] } }, - "offset_field": 371, - "offset_start": 384, - "offset_end": 424 + "offset_field": 328, + "offset_start": 341, + "offset_end": 381 } ], "is_encoding_problem": false, @@ -233,9 +222,9 @@ 2 ] }, - "offset_header": 296, - "offset_body": 425, - "offset_end": 576 + "offset_header": 253, + "offset_body": 382, + "offset_end": 533 }, { "headers": [ @@ -250,18 +239,18 @@ "attributes": null } }, - "offset_field": 450, - "offset_start": 463, - "offset_end": 474 + "offset_field": 407, + "offset_start": 420, + "offset_end": 431 } ], "is_encoding_problem": false, "body": { "Html": "

Hello world

\n" }, - "offset_header": 450, - "offset_body": 475, - "offset_end": 494 + "offset_header": 407, + "offset_body": 432, + "offset_end": 451 }, { "headers": [ @@ -276,25 +265,25 @@ "attributes": null } }, - "offset_field": 502, - "offset_start": 515, - "offset_end": 527 + "offset_field": 459, + "offset_start": 472, + "offset_end": 484 } ], "is_encoding_problem": false, "body": { "Text": "Hello another world\n" }, - "offset_header": 502, - "offset_body": 528, - "offset_end": 548 + "offset_header": 459, + "offset_body": 485, + "offset_end": 505 } ] } }, - "offset_header": 266, - "offset_body": 296, - "offset_end": 576 + "offset_header": 223, + "offset_body": 253, + "offset_end": 533 } ] } \ No newline at end of file