From b5e7fb256d340a2d00e2ef3a1eb4717ae0e6e304 Mon Sep 17 00:00:00 2001 From: Rodolfo Silva Date: Mon, 28 Sep 2020 21:23:12 -0300 Subject: [PATCH] Allow use of symbols in the redis password (#270) * allow use symbols in the redis password You can see the test case here: https://regex101.com/r/6ObzU2/1 * disallow double quote You'd have to at least exclude `"` as it will breaks the JSON replacement when the template is being rendered. --- public/v4/apps/redis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/v4/apps/redis.yml b/public/v4/apps/redis.yml index 38b6b4d..7dbdcfe 100644 --- a/public/v4/apps/redis.yml +++ b/public/v4/apps/redis.yml @@ -20,7 +20,7 @@ caproverOneClickApp: validRegex: /^([^\s^\/])+$/ - id: $$cap_redis_password label: Redis Password - validRegex: /^([a-zA-Z0-9-_])+$/ + validRegex: /^(\w|[^\s"])+$/ instructions: start: >- Redis is an open source key-value store that functions as a data structure server.