Commit 0e2fcb68 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Disable project path blacklist

Because since project always belongs to namespace it dont need such
strict restrictions any more
parent 720f11f40ebc
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment