Skip to content

Commit 98342ec

Browse files
authored
8.19.1 (#627)
- Ignore HTML content type in report email parsing (#626)
1 parent 38a3d4e commit 98342ec

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
8.19.1
5+
------
6+
7+
- Ignore HTML content type in report email parsing (#626)
8+
49
8.19.0
510
------
611

parsedmarc/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,8 @@ def parse_report_email(
12071207
payload = payload[0].__str__()
12081208
if content_type.startswith("multipart/"):
12091209
continue
1210+
if content_type == "text/html":
1211+
continue
12101212
elif content_type == "message/feedback-report":
12111213
try:
12121214
if "Feedback-Type" in payload:

parsedmarc/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "8.19.0"
1+
__version__ = "8.19.1"
22
USER_AGENT = f"parsedmarc/{__version__}"

0 commit comments

Comments
 (0)