dockerMan: Only allow name compatible with docker

2 characters minimum, must start with a-zA-Z0-9 2nd+ characters a-zA-z0-0.-_
This commit is contained in:
Squidly271
2020-11-08 13:45:36 -05:00
committed by GitHub
parent 99dfc3c216
commit a81571e964

View File

@@ -716,7 +716,7 @@ _(Template)_:
<div markdown="1" class="<?=$showAdditionalInfo?>">
_(Name)_:
: <input type="text" name="contName" required>
: <input type="text" name="contName" pattern="[a-zA-Z0-9][a-zA-Z0-9_.-]+" required>
:docker_client_name_help: