Skip Menu |

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

Report information
The Basics
Id: 50285
Status: resolved
Priority: 0/
Queue: DNS-ZoneParse

People
Owner: Nobody in particular
Requestors: pierre.lebrech [...] laposte.net
Cc:
AdminCc:

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



Subject: [Patch] Parse TXT records with a ;
Date: Wed, 07 Oct 2009 10:32:01 +0200
To: bug-DNS-ZoneParse [...] rt.cpan.org
From: Pierre LEBRECH <pierre.lebrech [...] laposte.net>
Hello, As I needed a corrected version, I decided to modify the source code of ZoneParse.pm. Feedback : the problem was that DKIM introduces some ";" in the rdata field of TXT records. A patch is appended to this mail : It works fine for me.
319c319,327 < $zone =~ s<\;.*$> <>mg; # Remove comments --- > my @records2 = grep !/^$/, split (m|$/|, $zone); > my $file2; > > foreach my $line2 (@records2) { > $_ = $line2; > $line2 =~ s<\;.*$> <>mg unless /TXT/; # Remove comments except if there is a TXT > $file2 .= $line2 . $/; > } > $zone = $file2;
Subject: Re: [rt.cpan.org #50285] [Patch] Parse TXT records with a ;
Date: Tue, 13 Oct 2009 17:10:26 -0700 (PDT)
To: Pierre LEBRECH via RT <bug-DNS-ZoneParse [...] rt.cpan.org>
From: Mike Schilli <m [...] perlmeister.com>
On Wed, 7 Oct 2009, Pierre LEBRECH via RT wrote: Show quoted text
> As I needed a corrected version, I decided to modify the source code > of ZoneParse.pm.
Hi Pierre, thanks for your help, we have a similar fix and are just adding test cases, should be released by the end of the week, stay tuned! -- Mike Mike Schilli m@perlmeister.com
This problem should be fixed with the 0.99 release. Can you give it a whirl?