diff options
| author | Rodolfo Silva <[email protected]> | 2020-09-28 21:23:12 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-28 20:23:12 -0400 |
| commit | b5e7fb256d340a2d00e2ef3a1eb4717ae0e6e304 (patch) | |
| tree | 3c1d858ae68bb839e6269c7ecd7c066e2e6ec8c1 /public/v4/apps/redis.yml | |
| parent | 69b28dc09430a6f0ebb9dc12f5d1aede05254f36 (diff) | |
| download | caprover-one-click-apps-b5e7fb256d340a2d00e2ef3a1eb4717ae0e6e304.tar.gz caprover-one-click-apps-b5e7fb256d340a2d00e2ef3a1eb4717ae0e6e304.zip | |
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.
Diffstat (limited to 'public/v4/apps/redis.yml')
| -rw-r--r-- | public/v4/apps/redis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
