Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

; (semi-colon) in TXT records causes the remainder of the record to be dropped on import #67

@avsdev-cw

Description

@avsdev-cw

Describe the bug
; (semi-colon) in TXT records cause the remainder of the record to be dropped, eg:

_dmarc              IN TXT    "v=DMARC1; p=quarantine; rua=mailto:postmaster@domain.local; ruf=mailto:postmaster@comain.local; fo=1; adkim=r; aspf=r; pct=100; sp=quarantine"

Gets imported as:

_dmarc              IN TXT    "v=DMARC1;

The issue lies with the parser, it hits ; and assumes it is a comment marker, even though it is within a quote

To Reproduce
Import an existing zone file with TXT records with ; (semi-colon's) in them.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions