zdns icon indicating copy to clipboard operation
zdns copied to clipboard

SPF prefix should be case insensitive

Open bayerhonza opened this issue 4 years ago • 3 comments

RFC 7208 notes that literal text strings in ABNF are case-insensitive.

This means that following SPF records are valid but do not apear as valid records while using zdns with SPF module:

SPF record zdns result
v=spf1 NOERROR
V=sPf1 NORECORD
v=SPF1 NORECORD

Checking the SPF prefix ("v=spf1") should be case-insensitive in order to conform to RFC.

bayerhonza avatar Oct 01 '21 12:10 bayerhonza

Thanks! Would you be willing to submit a PR to address this?

zakird avatar Oct 01 '21 13:10 zakird

Yes, I will submit a PR together with #252

bayerhonza avatar Oct 01 '21 13:10 bayerhonza

Fantastic, thank you!!

zakird avatar Oct 01 '21 13:10 zakird