diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-10 06:10:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-10 06:10:52 +0000 |
commit | ec890a64f727184e9a02db69994f79ab9552077d (patch) | |
tree | 07894fe307ae7ceb8eb664aed1711c696c0fe7c1 /app/validators | |
parent | 20559c59bda329bcd8991eecd0c8d9d31bc075fe (diff) | |
download | gitlab-ce-ec890a64f727184e9a02db69994f79ab9552077d.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/json_schemas/web_hooks_url_variables.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/validators/json_schemas/web_hooks_url_variables.json b/app/validators/json_schemas/web_hooks_url_variables.json index d23a19bf47a..ea504d114e3 100644 --- a/app/validators/json_schemas/web_hooks_url_variables.json +++ b/app/validators/json_schemas/web_hooks_url_variables.json @@ -5,7 +5,7 @@ "additionalProperties": false, "maxProperties": 20, "patternProperties": { - "^[A-Za-z_][A-Za-z0-9_]*$": { + "^[A-Za-z]+[0-9]*(?:[._-][A-Za-z0-9]+)*$": { "type": "string", "minLength": 1, "maxLength": 100 |