Skip to content

rework TXT record handling and tokenization - #20

Open
weizenspreu wants to merge 7 commits into
cetanu:masterfrom
Staffbase:master
Open

rework TXT record handling and tokenization#20
weizenspreu wants to merge 7 commits into
cetanu:masterfrom
Staffbase:master

Conversation

@weizenspreu

Copy link
Copy Markdown

Currently the crawler does not handle TXT records properly, breaking SPF record entries in cases where the TXT record is split in several parts (e.g. 0.spf0.hubspotemail.net). The crawler currently also handles other TXT records even if they don't start with v=spf1 which is against the specification.

This PR superseeds #19 as we currently use the modified version in production. This modified version also introduces some code cleanups suggested by @tresni in his fork. Our modified version might introduce additional improvements in the future.

Signed-off-by: Kenny Niehage <kevin.niehage@staffbase.com>
Signed-off-by: Kenny Niehage <kevin.niehage@staffbase.com>
fix handling of TXT records
@0x46616c6b
0x46616c6b deleted the branch cetanu:master April 28, 2025 11:56
@0x46616c6b
0x46616c6b deleted the master branch April 28, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant