Parse testrun NDNs

This commit is contained in:
Hocuri
2020-06-15 16:07:02 +02:00
parent 6340b278d9
commit eb29f9c4c1
3 changed files with 120 additions and 1 deletions

View File

@@ -866,7 +866,7 @@ impl MimeMessage {
if let Some(original_msg) = report
.subparts
.iter()
.find(|p| p.ctype.mimetype.contains("rfc822"))
.find(|p| p.ctype.mimetype.contains("rfc822") || p.ctype.mimetype == "message/global")
{
let report_body = original_msg.get_body_raw()?;
let (report_fields, _) = mailparse::parse_headers(&report_body)?;