diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-08 16:05:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-08 16:05:05 +0300 |
commit | 8fa311a5de24a28d8190b0a038fb893e71184eb2 (patch) | |
tree | ae489a4ab340f24312cc1d968f74e5b22ac094d4 /lib/gitlab | |
parent | 0fabe9336cf7cf2a31156931e716e84fc45e842f (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-ee
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/path_regex.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/path_regex.rb b/lib/gitlab/path_regex.rb index 16a6c470213..4cb47ffc6d9 100644 --- a/lib/gitlab/path_regex.rb +++ b/lib/gitlab/path_regex.rb @@ -177,7 +177,7 @@ module Gitlab end def repository_route_regex - @repository_route_regex ||= /#{full_namespace_route_regex}|#{personal_snippet_repository_path_regex}/.freeze + @repository_route_regex ||= /(#{full_namespace_route_regex}|#{personal_snippet_repository_path_regex})\.*/.freeze end def repository_git_route_regex @@ -185,7 +185,7 @@ module Gitlab end def repository_wiki_git_route_regex - @repository_wiki_git_route_regex ||= /#{full_namespace_route_regex}\.wiki\.git/.freeze + @repository_wiki_git_route_regex ||= /#{full_namespace_route_regex}\.*\.wiki\.git/.freeze end def full_namespace_path_regex |