some fixes
This commit is contained in:
parent
e3e90e984b
commit
f08f43e0bf
6 changed files with 21 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
2011/06/24
|
||||
- fixed .be handler (bug #3307363)
|
||||
- fixed ip.lacnic handler array handling
|
||||
- fixed .eu hanlder (bug #3297823)
|
||||
- fixed .ae handler (bug #3181964)
|
||||
- fixed .uk handler (partial patch # 3314417)
|
||||
|
||||
2011/01/26
|
||||
- fixed .se handler (bug #3165639)
|
||||
|
||||
|
|
|
@ -70,6 +70,11 @@ class ae_handler
|
|||
unset($reg['domain']['descr']);
|
||||
}
|
||||
|
||||
if (!empty($reg['domain']['blacklisted']))
|
||||
{
|
||||
$reg['registered'] = 'unknown';
|
||||
}
|
||||
|
||||
$r['regrinfo'] = $reg;
|
||||
return ($r);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ class be_handler
|
|||
|
||||
$r['regrinfo'] = get_blocks($data['rawdata'], $items);
|
||||
|
||||
if (isset($r['regrinfo']['domain']['name']))
|
||||
if ($r['regrinfo']['domain']['status'] == 'REGISTERED')
|
||||
{
|
||||
$r['regrinfo']['registered'] = 'yes';
|
||||
$r['regrinfo'] = get_contacts($r['regrinfo']);
|
||||
|
|
|
@ -39,7 +39,7 @@ class eu_handler
|
|||
$items = array(
|
||||
'domain.name' => 'Domain:',
|
||||
'domain.status' => 'Status:',
|
||||
'domain.nserver' => 'Nameservers:',
|
||||
'domain.nserver' => 'Name servers:',
|
||||
'domain.created' => 'Registered:',
|
||||
'domain.registrar' => 'Registrar:',
|
||||
'tech' => 'Registrar Technical Contacts:',
|
||||
|
|
|
@ -70,7 +70,7 @@ class lacnic_handler
|
|||
if (!empty($r['network']['aut-num']))
|
||||
$r['network']['handle'] = $r['network']['aut-num'];
|
||||
|
||||
if (isset($r['network']['nserver']))
|
||||
if (is_array($r['network']['nserver']))
|
||||
$r['network']['nserver'] = array_unique($r['network']['nserver']);
|
||||
|
||||
$r = array( 'regrinfo' => $r );
|
||||
|
|
|
@ -47,14 +47,17 @@ class uk_handler
|
|||
|
||||
$items = array(
|
||||
'owner.organization' => 'Registrant:',
|
||||
'owner.address' => "Registrant's address:",
|
||||
'owner.address' => "Registrant's address:",
|
||||
'owner.type' => 'Registrant type:',
|
||||
'domain.created' => 'Registered on:',
|
||||
'domain.changed' => 'Last updated:',
|
||||
'domain.expires' => 'Renewal date:',
|
||||
'domain.nserver' => 'Name servers:',
|
||||
'domain.sponsor' => 'Registrar:',
|
||||
'domain.status' => 'Registration status:',
|
||||
'' => 'WHOIS lookup made at'
|
||||
'domain.dnssec' => 'DNSSEC:',
|
||||
'' => 'WHOIS lookup made at',
|
||||
'disclaimer' => '--',
|
||||
);
|
||||
|
||||
$r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
|
||||
|
@ -73,7 +76,7 @@ class uk_handler
|
|||
$r['regrinfo']['registered'] = 'no';
|
||||
|
||||
$r['regyinfo'] = array(
|
||||
'referrer' => 'http://www.monimet.uk',
|
||||
'referrer' => 'http://www.monimet.org.uk',
|
||||
'registrar' => 'Nominet UK'
|
||||
);
|
||||
return $r;
|
||||
|
|
Loading…
Reference in a new issue