Disable project path blacklist

Because since project always belongs to namespace it dont need such
strict restrictions any more
This commit is contained in:
Dmitriy Zaporozhets 2015-02-04 15:23:38 -08:00
parent 3a533d48c6
commit 0e2fcb68d7

View file

@ -116,7 +116,6 @@ class Project < ActiveRecord::Base
validates :path, validates :path,
presence: true, presence: true,
length: { within: 0..255 }, length: { within: 0..255 },
exclusion: { in: Gitlab::Blacklist.path },
format: { with: Gitlab::Regex.path_regex, format: { with: Gitlab::Regex.path_regex,
message: Gitlab::Regex.path_regex_message } message: Gitlab::Regex.path_regex_message }
validates :issues_enabled, :merge_requests_enabled, validates :issues_enabled, :merge_requests_enabled,