Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/validators/json_schemas/web_hooks_url_variables.json')
-rw-r--r--app/validators/json_schemas/web_hooks_url_variables.json2
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