mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-31 14:56:16 +02:00
Further fixes about clTRID in error response
This commit is contained in:
parent
d637d1a873
commit
720635367e
6 changed files with 151 additions and 151 deletions
|
@ -60,7 +60,7 @@ function processHostCheck($conn, $db, $xml) {
|
|||
|
||||
// Validation for host name
|
||||
if (!preg_match('/^([A-Z0-9]([A-Z0-9-]{0,61}[A-Z0-9]){0,1}\\.){1,125}[A-Z0-9]([A-Z0-9-]{0,61}[A-Z0-9])$/i', $host) && strlen($host) > 254) {
|
||||
sendEppError($conn, 2005, 'Invalid host name');
|
||||
sendEppError($conn, 2005, 'Invalid host name', $clTRID);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue