Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_path_validator.rb « validators « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: adf02901802b9acee65c1ac0d92ed9f0b7541b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class UserPathValidator < AbstractPathValidator
  extend Gitlab::EncodingHelper

  def self.path_regex
    Gitlab::PathRegex.root_namespace_path_regex
  end

  def self.format_regex
    Gitlab::PathRegex.namespace_format_regex
  end

  def self.format_error_message
    Gitlab::PathRegex.namespace_format_message
  end
end