fix for .ch handler
This commit is contained in:
parent
9cc1185d31
commit
4151fc2eec
4 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,8 @@
|
|||
- added handler for gandi (request #3155752)
|
||||
- added handler for .cl
|
||||
- corrected utf-8 support for .hu, .br and ripe
|
||||
- fixes for .pl, .org.za, .be, .cz, .de, .fj, .it handlers
|
||||
- fixes for .pl, .org.za, .be, .cz, .de, .fj, .it, .ch
|
||||
handlers
|
||||
- nameservers are automatically searched if missing
|
||||
|
||||
2011/06/24
|
||||
|
|
|
@ -53,11 +53,15 @@ class ch_handler
|
|||
'domain.dnssec' => 'DNSSEC:'
|
||||
);
|
||||
|
||||
$trans = array(
|
||||
'contractual language:' => 'language'
|
||||
);
|
||||
|
||||
$r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
|
||||
|
||||
if (!empty($r['regrinfo']['domain']['name']))
|
||||
{
|
||||
$r['regrinfo'] = get_contacts($r['regrinfo']);
|
||||
$r['regrinfo'] = get_contacts($r['regrinfo'],$trans);
|
||||
|
||||
$r['regrinfo']['domain']['name'] = $r['regrinfo']['domain']['name'][0];
|
||||
|
||||
|
|
|
@ -286,7 +286,8 @@ class Whois extends WhoisClient
|
|||
$ns = dns_get_record($this->Query['query'],DNS_NS);
|
||||
$nserver = array();
|
||||
foreach($ns as $row) $nserver[] = $row['target'];
|
||||
$result['regrinfo']['domain']['nserver'] = $this->FixNameServer($nserver);
|
||||
if (count($nserver) > 0)
|
||||
$result['regrinfo']['domain']['nserver'] = $this->FixNameServer($nserver);
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue