Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 5.16.1

### Changes

- Simplify the warning emitted for `pct`/`rf`/`ri` to just "Support for
the {tag} tag was removed in RFC 9989".

## 5.16.0

### Changes
Expand Down
2 changes: 1 addition & 1 deletion checkdmarc/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
See the License for the specific language governing permissions and
limitations under the License."""

__version__ = "5.16.0"
__version__ = "5.16.1"

OS = platform.system()
OS_RELEASE = platform.release()
Expand Down
6 changes: 1 addition & 5 deletions checkdmarc/dmarc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,11 +1279,7 @@ def parse_dmarc_record(
f"Duplicate {duplicate_tags_str} tags are not permitted"
)
if tag in removed_tags:
warnings.append(
f"Support for the {tag} tag was removed in RFC 9989; "
"the value is preserved for older DMARC readers but is "
"not validated."
)
warnings.append(f"Support for the {tag} tag was removed in RFC 9989")
continue
value = pair[1].lower().strip()
tags[tag] = {"value": value, "explicit": True}
Expand Down
Loading