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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-21 12:10:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-21 12:10:54 +0300
commit7e29b8f3fcc32a6adcf735a5a9069de5d9d814d6 (patch)
treedb9cd61369d239bf092628a8796395374f0c4468 /lib/gitlab/jira
parentfccfc5332f11e87433ada819c2467713f2dbb8f3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/jira')
-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)