[feladat @ 280]
Fixed a small and non-critical bug when validating SOA records. An error messages was shown, validation or process wasn't influenced.
--- a/inc/dns.inc.php Mon May 19 10:20:44 2008 +0000
+++ b/inc/dns.inc.php Mon May 19 19:01:58 2008 +0000
@@ -284,7 +284,7 @@
if ($field_count == 0 || $field_count > 7) {
return false;
} else {
- if (!is_valid_hostname_fqdn($fields[0]) || preg_match('/\.arpa\.?$/',$fields[0])) {
+ if (!is_valid_hostname_fqdn($fields[0],0) || preg_match('/\.arpa\.?$/',$fields[0])) {
return false;
}
$final_soa = $fields[0];