zaccone / spf

Sender Policy Framework
MIT License
19 stars 6 forks source link

Syntax error happen when long SPF record is split #31

Closed dmotylev closed 7 years ago

dmotylev commented 7 years ago

MiekgDNSResolver flatten multiline incorrectly

zaccone commented 7 years ago

Hi Dmitry,

Thanks for the PR. Could we actually add some tests that show that before lib was failing and now it's actually working fine? Looks like it's actually doable in the unit tests domain.

Thanks, Marek

dmotylev commented 7 years ago

This one is specific for the MiekgDNSResolver only. The test case replicates what we found in wild.