Subject: | [Patch] Parse TXT records without quotes |
--- ZoneParse.pm 2004-10-24 18:55:01.000000000 +0200
+++ /usr/local/share/perl/5.8.8/DNS/ZoneParse.pm 2007-04-17
16:12:57.000000000 +0200
@@ -269,7 +269,7 @@
$self -> _massage({ name => $1, class => $3, ttl => $2,
host => $4 });
}
- elsif (/($valid_name)? \s $ttl_cls TXT \s \"([^\"]*)\"/ix)
+ elsif (/($valid_name)? \s $ttl_cls TXT \s \"?([^\"]*)\"?/ix)
{
push @{$dns_txt{$self}},
$self -> _massage({ name => $1, ttl => $2, class => $3,