Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This fixes TXT resolution by combining broken-up TXT records #181

Merged
merged 3 commits into from May 2, 2024

Conversation

tekkamanendless
Copy link
Contributor

Per RFC 7208, a single TXT record can be broken up into multiple parts and "MUST be treated as if those strings are concatenated together without adding spaces".

Previously, the client would treat individual TXT sub-record as a full TXT record. This fixes that issue.

In doing this, this makes SPF, DMARC, and DKIM queries work as intended.

Per RFC 7208, a single TXT record can be broken up into multiple
parts and "MUST be treated as if those strings are concatenated
together without adding spaces"; see: https://www.rfc-editor.org/rfc/rfc7208

Previously, the client would treat individual TXT sub-record as
a full TXT record.  This fixes that issue.

In doing this, this makes SPF, DMARC, and DKIM queries work as
intended.
@Mzack9999 Mzack9999 added the Type: Enhancement Most issues will probably ask for additions or changes. label May 2, 2024
@Mzack9999 Mzack9999 self-requested a review May 2, 2024 10:33
@Mzack9999 Mzack9999 merged commit a6d47e7 into projectdiscovery:main May 2, 2024
5 checks passed
@tekkamanendless tekkamanendless deleted the fix-txt-resolution branch May 8, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants