diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-03 12:59:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-03 12:59:43 +0300 |
commit | 6aefeb24873b0957456ae0deacbb431fc79a6a28 (patch) | |
tree | a803343e837f64c2d214a01098fa989097e203cb /lib/gitlab/regex.rb | |
parent | 9d9ee598bc514eaee681b40cdff4d12a3a8f412a (diff) |
Add latest changes from gitlab-org/security/gitlab@14-5-stable-ee
Diffstat (limited to 'lib/gitlab/regex.rb')
-rw-r--r-- | lib/gitlab/regex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb index 8b2f786a91a..904fc744c6b 100644 --- a/lib/gitlab/regex.rb +++ b/lib/gitlab/regex.rb @@ -57,7 +57,7 @@ module Gitlab end def maven_version_regex - @maven_version_regex ||= /\A(\.?[\w\+-]+\.?)+\z/.freeze + @maven_version_regex ||= /\A(?!.*\.\.)[\w+.-]+\z/.freeze end def maven_app_group_regex |