From f3f606966d7efb027e531344438e25a816c89c62 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 14 Dec 2017 08:56:00 +0000 Subject: [PATCH] Merge branch 'check-environment-regex' into 'master' Fix environment scope regex See merge request gitlab-org/gitlab-ee!3641 --- lib/gitlab/regex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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