Skip Menu |
 

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

Report information
The Basics
Id: 77435
Status: patched
Priority: 0/
Queue: Net-DNS-ZoneFile-Fast

People
Owner: Nobody in particular
Requestors: FELIPE [...] cpan.org
Cc:
AdminCc:

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



Subject: Escaped, unquoted ; is not parsed correctly in TXT records
Download (untitled) / with headers
text/plain 531b
Show quoted text
> perl -MData::Dumper -MNet::DNS::ZoneFile::Fast -e'print Dumper
Net::DNS::ZoneFile::Fast::parse(qq{foo IN TXT 12\\;34 ;56})' $VAR1 = [ bless( { 'ttl' => 0, 'name' => 'foo', 'rdata' => '', 'rdlength' => 0, 'Line' => 1, 'Lines' => 1, 'type' => 'TXT', 'class' => 'IN' }, 'Net::DNS::RR::TXT' ) ]; The fix: my $pat_skip = qr{\s*(?:(?<!\\);.*)?};


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.