From 54c44b174baeda6bece49e9410d2a44fcecc69aa Mon Sep 17 00:00:00 2001 From: Miraty Date: Fri, 18 Aug 2023 18:17:44 +0200 Subject: [PATCH] pg-act/ns/print: fix NS_ALLOWED_TYPES name --- pg-act/ns/print.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg-act/ns/print.php b/pg-act/ns/print.php index c5f40b3..6aeca77 100644 --- a/pg-act/ns/print.php +++ b/pg-act/ns/print.php @@ -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 ]+(?[0-9]{1,5})[\t ]+(?[0-9]{1,2})[\t ]+(?[0-9])[\t ]+(?[0-9A-F]{64})$/Dm', $zone_content, $data['zone-ds']);