Skip Menu |

This queue is for tickets about the DNS-ZoneParse CPAN distribution.

Report information
The Basics
Id: 39006
Status: new
Priority: 0/
Queue: DNS-ZoneParse

People
Owner: Nobody in particular
Requestors: grimm [...] xqdev.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error parsing records with names that end in an rr type
Date: Thu, 4 Sep 2008 22:13:10 -0700
To: bug-DNS-ZoneParse [...] rt.cpan.org
From: Ryan Grimm <grimm [...] xqdev.com>
If you have an entry like: foo.a IN TXT "description of foo" it will be parsed as an A record because its name ends in "a". Seems like forcing whitespace after the name by changing line 202 from: if (/^($valid_name)? \s* # host to: if (/^($valid_name)? \s+ # host fixes things up. I haven't dug into any side effects that this change may have.