mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-11-18 13:51:22 +00:00
3.8.0 - Allow forensic to header to be missing
This commit is contained in:
1 parent
8438e9bd5a
commit
245262d997
1 file changed
+6
-2
@@ -792,8 +792,12 @@ def parse_forensic_report(feedback_report, sample, sample_headers_only,
|
||||
else:
|
||||
parsed_sample["reply_to"] = []
|
||||
|
||||
parsed_sample["to"] = list(map(lambda x: convert_address(x),
|
||||
parsed_sample["to"]))
|
||||
if "to" in parsed_sample:
|
||||
parsed_sample["to"] = list(map(lambda x: convert_address(x),
|
||||
parsed_sample["to"]))
|
||||
else:
|
||||
parsed_sample["to"] = []
|
||||
|
||||
if "cc" in parsed_sample:
|
||||
parsed_sample["cc"] = list(map(lambda x: convert_address(x),
|
||||
parsed_sample["cc"]))
|
||||
|
||||
Reference in new issue
Block a user