Skip Menu |

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

Report information
The Basics
Id: 1460
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: tmiller [...] hyperphysical.net
Cc:
AdminCc:

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



Subject: RR.pm regular expression problem
In Net::DNS version 0.27 file RR.pm there is a problem with the $RR_REGEX variable in the build_regex subroutine. On line 122, the "\\s+" needs to be changed to "\\s*" to allow rr_del updates to proceed without forcing the caller to specify any information other than the RR name. I don't know what version introduced the error, and I didn't catch it for awhile after upgrading through 0.26 and 0.27 because nobody was doing record deletes using my application.
Date: Tue, 20 Aug 2002 16:34:11 -0400 (EDT)
From: Chris Reinhardt <ctriv [...] dyndns.org>
To: Guest via RT <bug-Net-DNS [...] rt.cpan.org>
Subject: Re: [cpan #1460] RR.pm regular expression problem
On Tue, 20 Aug 2002, Guest via RT wrote: Show quoted text
> > > This message about Net-DNS was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=1460 > > > In Net::DNS version 0.27 file RR.pm there is a problem with the > $RR_REGEX variable in the build_regex subroutine. On line 122, the > "\\s+" needs to be changed to "\\s*" to allow rr_del updates to proceed > without forcing the caller to specify any information other than the RR > name. > > I don't know what version introduced the error, and I didn't catch it > for awhile after upgrading through 0.26 and 0.27 because nobody was > doing record deletes using my application. >
This was actually noticed by someone else a few days ago. I've fixed it in the CVS version of Net::DNS, and have added tests to make sure I don't break it again in the future ;). I expect a new CPAN release (with this fix) will be out this weekend. -- Chris Reinhardt ctriv@dyndns.org Systems Architect Dynamic DNS Network Services http://www.dyndns.org/