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
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*(?:(?<!\\);.*)?};