Al is valid and smaller than 3
This commit is contained in:
@@ -255,7 +255,7 @@ logextra( "Host ID was found \"$host_id\"" );
|
|||||||
|
|
||||||
$provided_host_name = urldecode( $decoded_json["host_name"] );
|
$provided_host_name = urldecode( $decoded_json["host_name"] );
|
||||||
|
|
||||||
if ( empty( $provided_host_name ) or strlen( $provided_host_name ) < 3 or strlen( $provided_host_name ) > 50 ) {
|
if ( empty( $provided_host_name ) or strlen( $provided_host_name ) < 2 or strlen( $provided_host_name ) > 50 ) {
|
||||||
problem("host_name length is not correct");
|
problem("host_name length is not correct");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user