1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

fix(template): add name validation for template name EE-1806 (#5823)

* add name validation for tempalte name
This commit is contained in:
Richard Wei 2021-10-07 13:02:56 +13:00 committed by GitHub
parent 84e57cebc9
commit 661931d8b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 49 additions and 5 deletions

View file

@ -31,3 +31,4 @@ angular
export const PORTAINER_FADEOUT = 1500;
export const STACK_NAME_VALIDATION_REGEX = '^[-_a-z0-9]+$';
export const TEMPLATE_NAME_VALIDATION_REGEX = '^[-_a-z0-9]+$';