Skip Menu |

This queue is for tickets about the BIND-Config-Parser CPAN distribution.

Report information
The Basics
Id: 52561
Status: open
Priority: 0/
Queue: BIND-Config-Parser

People
Owner: Nobody in particular
Requestors: gnicolax [...] gmail.com
Cc:
AdminCc:

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



Problems when values contain the negation "!" sign. eg: view "myrootview" { match-clients { !dont_match_this_dns; }; zone "." { type hint; file "/etc/named.d/root.hint"; }; }; A fix is to add "!" to the characters that each value accepts, see the attached patch.
Subject: patch_BIND_Config_Parser.patch
--- BIND/Config/Parser.pm 2005-06-26 23:28:12.000000000 +0200 +++ BIND.me/Config/Parser.pm 2009-12-08 15:24:21.000000000 +0100 @@ -1,3 +1,4 @@ + package BIND::Config::Parser; # $Id: Parser.pm 35 2005-06-26 18:58:24Z $ @@ -31,7 +32,7 @@ { [ $item[1], $item[2], $item[4] ] } value: - /[\w.\/=-]+/ | /"[\w.\/ =-]+"/ + /[\!\w.\/=-]+/ | /"[\!\w.\/ =-]+"/ eofile: /^\Z/
Sorry forgot to put the subject. Created another one with the subject.
On Tue Dec 08 10:06:11 2009, Pipolas wrote: Show quoted text
> Sorry forgot to put the subject. Created another one with the subject.
Please delete this one.