mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-14 15:16:04 +10:00
Disable project path blacklist
Because since project always belongs to namespace it dont need such strict restrictions any more
This commit is contained in:
@@ -116,7 +116,6 @@ class Project < ActiveRecord::Base
|
||||
validates :path,
|
||||
presence: true,
|
||||
length: { within: 0..255 },
|
||||
exclusion: { in: Gitlab::Blacklist.path },
|
||||
format: { with: Gitlab::Regex.path_regex,
|
||||
message: Gitlab::Regex.path_regex_message }
|
||||
validates :issues_enabled, :merge_requests_enabled,
|
||||
|
||||
Reference in New Issue
Block a user