spf-query
spf-query copied to clipboard
Ruby SPF Parser
Since f838afb94a23f47c79e9eea2cd3a45827b62e1b1, the gem prioritizes a query to `_spf.DOMAIN.EXT` instead of using a query to the requested domain itself. This produces invalid results in case a domain publishes SPF records...
This fixes #10 by completely removing the implicit query for `_spf.DOMAIN`. We thus query the actual domain provided by the user only.
There are 3 test failures: ``` 1) SPF::Query.query when the domain.com has a TXT record and when the record is split into multiple strings should join the strings, without spaces...