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 'lib/gitlab/jira/dvcs.rb')
-rw-r--r--lib/gitlab/jira/dvcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/jira/dvcs.rb b/lib/gitlab/jira/dvcs.rb
index 41a039674b3..020c31fa281 100644
--- a/lib/gitlab/jira/dvcs.rb
+++ b/lib/gitlab/jira/dvcs.rb
@@ -5,7 +5,7 @@ module Gitlab
module Dvcs
ENCODED_SLASH = '@'
SLASH = '/'
- ENCODED_ROUTE_REGEX = /[a-zA-Z0-9_\-\.#{ENCODED_SLASH}]+/.freeze
+ ENCODED_ROUTE_REGEX = /[a-zA-Z0-9_\-\.#{ENCODED_SLASH}]+/
def self.encode_slash(path)
path.gsub(SLASH, ENCODED_SLASH)