Al is valid and smaller than 3

This commit is contained in:
2025-10-22 07:10:51 +02:00
parent ebae3bc284
commit 0378282264

View File

@@ -255,7 +255,7 @@ logextra( "Host ID was found \"$host_id\"" );
$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");
}