other stuff
This commit is contained in:
@@ -57,7 +57,7 @@ if ($action == 'add_record' && ! empty($_POST)) {
|
||||
$errors[] = $lng['error']['domain_nopunycode'];
|
||||
} else {
|
||||
$record = $idna_convert->encode($record);
|
||||
if ($type != 'SRV' && $type != 'TXT') {
|
||||
if ($type != 'SRV' && $type != 'TXT' && $type != "CNAME" ) {
|
||||
$check_dom = $record . '.example.com';
|
||||
if (! validateDomain($check_dom)) {
|
||||
$errors[] = sprintf($lng['error']['subdomainiswrong'], $idna_convert->decode($record));
|
||||
|
||||
Reference in New Issue
Block a user