summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-12-14 08:56:00 +0000
committerShinya Maeda <shinya@gitlab.com>2018-01-08 17:18:04 +0900
commitf3f606966d7efb027e531344438e25a816c89c62 (patch)
tree5f1269d50a1f3c29b5171645b6d985dd56b3702a
parent2c66b942bde756554b22d8b54c586fe45f544b0e (diff)
downloadgitlab-ce-f3f606966d7efb027e531344438e25a816c89c62.tar.gz
Merge branch 'check-environment-regex' into 'master'
Fix environment scope regex See merge request gitlab-org/gitlab-ee!3641
-rw-r--r--lib/gitlab/regex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb
index 2c7b8af83f2..0002c7da8f1 100644
--- a/lib/gitlab/regex.rb
+++ b/lib/gitlab/regex.rb
@@ -37,7 +37,7 @@ module Gitlab
end
def environment_name_regex_chars
- 'a-zA-Z0-9_/\\$\\{\\}\\. -'
+ 'a-zA-Z0-9_/\\$\\{\\}\\. \\-'
end
def environment_name_regex