Multiline quoted continuations (closes #92)

This commit is contained in:
mdecimus
2024-12-01 20:54:09 +13:00
parent 9bf766dcf1
commit c8bf355494
2 changed files with 14 additions and 0 deletions
+13
View File
@@ -1204,5 +1204,18 @@
]
]
}
},
{
"header": "attachment;\r\n\tfilename=\"=?utf-8?Q?Auftragsbest=C3=A4tigung_Xxxxx_Xxxxxx_XXXXXXXXXX=2EPD?=\r\n =?utf-8?Q?F?=\"\r\n",
"expected": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"Auftragsbestätigung Xxxxx Xxxxxx XXXXXXXXXX.PDF"
]
]
}
}
]
+1
View File
@@ -318,6 +318,7 @@ impl<'x> MessageStream<'x> {
}
ContentState::AttributeQuotedValue => {
if next_is_space {
self.next();
parser.remove_crlf = true;
continue;
} else {