domainaware / checkdmarc

A parser for SPF and DMARC DNS records
https://domainaware.github.io/checkdmarc
Apache License 2.0
244 stars 76 forks source link

Updated spf exception when spf for a domain is invalid. #111

Closed jahir-raihan closed 8 months ago

jahir-raihan commented 9 months ago

This exception was to handle when spf is not valid. But the the line spf_results['error'] = error.args[0].args[0] was causing error, because error.args[0] returns a string where a string doesn't have .args[0] method.

jahir-raihan commented 9 months ago

Try to run kissonline.com , You'll get the invalid string method call error while handling another exception.