Disable project path blacklist
Because since project always belongs to namespace it dont need such strict restrictions any more
This commit is contained in:
parent
3a533d48c6
commit
0e2fcb68d7
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue