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/harbor/query.rb')
-rw-r--r--lib/gitlab/harbor/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/harbor/query.rb b/lib/gitlab/harbor/query.rb
index c120810ecf1..fcd984b01ce 100644
--- a/lib/gitlab/harbor/query.rb
+++ b/lib/gitlab/harbor/query.rb
@@ -17,7 +17,7 @@ module Gitlab
message: 'Id invalid'
}, allow_blank: true
validates :artifact_id, format: {
- with: /\A[a-zA-Z0-9\_\.\-$]+\z/,
+ with: /\A[a-zA-Z0-9\_\.\-$:]+\z/,
message: 'Id invalid'
}, allow_blank: true
validates :sort, format: {