- Fixed a bug in {SPF::Query.query} for when the TXT record is split into multiple strings. According to RFC 7208, Section 3.3, multiple strings should be joined together without spaces.
- Fixed a bug in {SPF::Query::Mechanism#to_s}.
- Prioritize TXT records on
_spf.example.com
andexample.com
over a SPF record onexample.com
. RFC 7208 deprecated SPF-type records. (@nandosousafr)
- Join multi-part DNS responses together with a
' '
instead of nothing.
- Convert all chars and literals to Strings.
- Properly transform macro_strings that contain a single literal into a String.
- Raise {SPF::Query::SenderIDFound} from {SPF::Query::Record.parse} if Sender ID is detected.
- Initial release:
- Queries and parses SPF records.
- Supports querying both TXT and SPF records.