From 0faa34ac7b92d01a250656fe4c106bcbdfe6cd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Fri, 17 Feb 2023 10:08:33 +0100 Subject: [PATCH] Add a regex to the setting REDIS_HOST --- src/common/core/redis/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/core/redis/plugin.json b/src/common/core/redis/plugin.json index ba2c88425..37041f246 100644 --- a/src/common/core/redis/plugin.json +++ b/src/common/core/redis/plugin.json @@ -20,7 +20,7 @@ "help": "Redis server IP or hostname.", "id": "redis-host", "label": "Redis server", - "regex": "^.*$", + "regex": "^((?!-)[a-zA-Z0-9-]{1,63}(?