pg-act/ns/print: fix NS_ALLOWED_TYPES name
This commit is contained in:
parent
e6cc5eed1c
commit
54c44b174b
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ if ($_POST['print'] === 'raw')
|
|||
$data['zone-raw'] = $zone_content;
|
||||
|
||||
elseif ($_POST['print'] === 'table')
|
||||
$data['zone-table'] = parseZoneFile($zone_content, ALLOWED_TYPES);
|
||||
$data['zone-table'] = parseZoneFile($zone_content, NS_ALLOWED_TYPES);
|
||||
|
||||
elseif ($_POST['print'] === 'ds') {
|
||||
$found = preg_match('/^' . preg_quote($data['zone_name'], '/') . '[\t ]+0[\t ]+CDS[\t ]+(?<tag>[0-9]{1,5})[\t ]+(?<algo>[0-9]{1,2})[\t ]+(?<digest_type>[0-9])[\t ]+(?<digest>[0-9A-F]{64})$/Dm', $zone_content, $data['zone-ds']);
|
||||
|
|
Loading…
Reference in a new issue