From f946ca416ad9d86ca8b7941994709264b7168cbc Mon Sep 17 00:00:00 2001 From: Sonia Sanz Vivas Date: Thu, 10 Oct 2024 15:39:21 +0200 Subject: [PATCH] Not allow # in index template name --- .../index_management/common/constants/invalid_characters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/index_management/common/constants/invalid_characters.ts b/x-pack/plugins/index_management/common/constants/invalid_characters.ts index 311de74f54733..e3a66477d71ae 100644 --- a/x-pack/plugins/index_management/common/constants/invalid_characters.ts +++ b/x-pack/plugins/index_management/common/constants/invalid_characters.ts @@ -7,4 +7,4 @@ export const INVALID_INDEX_PATTERN_CHARS = ['\\', '/', '?', '"', '<', '>', '|']; -export const INVALID_TEMPLATE_NAME_CHARS = ['"', '*', '\\', ',', '?']; +export const INVALID_TEMPLATE_NAME_CHARS = ['"', '*', '\\', ',', '?', '#'];