mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 08:01:21 +00:00
Multiline quoted continuations (closes #92)
This commit is contained in:
@@ -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"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -318,6 +318,7 @@ impl<'x> MessageStream<'x> {
|
||||
}
|
||||
ContentState::AttributeQuotedValue => {
|
||||
if next_is_space {
|
||||
self.next();
|
||||
parser.remove_crlf = true;
|
||||
continue;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user