diff --git a/resources/content_type.json b/resources/content_type.json index 362717f..cecf1eb 100644 --- a/resources/content_type.json +++ b/resources/content_type.json @@ -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" + ] + ] + } } ] \ No newline at end of file diff --git a/src/parsers/fields/content_type.rs b/src/parsers/fields/content_type.rs index f690f46..3f702bd 100644 --- a/src/parsers/fields/content_type.rs +++ b/src/parsers/fields/content_type.rs @@ -318,6 +318,7 @@ impl<'x> MessageStream<'x> { } ContentState::AttributeQuotedValue => { if next_is_space { + self.next(); parser.remove_crlf = true; continue; } else {