diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-06 22:15:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-06 22:15:29 +0300 |
commit | 19e2b7faf7439992f9d91f4b053d25d956f3e83a (patch) | |
tree | 4e30cf5778759a4d99f34d681dacfa0928120e17 /lib/api | |
parent | bc82bff16f0c095533a78b1ca894f8ac3b92b2dc (diff) |
Add latest changes from gitlab-org/security/gitlab@13-7-stable-ee
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/concerns/packages/nuget_endpoints.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/concerns/packages/nuget_endpoints.rb b/lib/api/concerns/packages/nuget_endpoints.rb index 5177c4d23c0..1a03a6a6dad 100644 --- a/lib/api/concerns/packages/nuget_endpoints.rb +++ b/lib/api/concerns/packages/nuget_endpoints.rb @@ -15,7 +15,7 @@ module API extend ActiveSupport::Concern POSITIVE_INTEGER_REGEX = %r{\A[1-9]\d*\z}.freeze - NON_NEGATIVE_INTEGER_REGEX = %r{\A0|[1-9]\d*\z}.freeze + NON_NEGATIVE_INTEGER_REGEX = %r{\A(0|[1-9]\d*)\z}.freeze included do helpers do |