mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-03 01:23:22 +02:00
More fixes
This commit is contained in:
parent
9fe3b3f20a
commit
8a144a6add
2 changed files with 77 additions and 34 deletions
|
@ -493,6 +493,12 @@ function processHostCreate($conn, $db, $xml, $clid, $database_type, $trans) {
|
|||
|
||||
foreach ($host_addr_list as $node) {
|
||||
$addr = (string) $node;
|
||||
|
||||
if (empty($addr)) {
|
||||
sendEppError($conn, $db, 2303, 'Error: Address is empty', $clTRID, $trans);
|
||||
return;
|
||||
}
|
||||
|
||||
$addr_type = isset($node['ip']) ? (string) $node['ip'] : 'v4';
|
||||
|
||||
if ($addr_type == 'v6') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue