提交 31323205 编写于 作者: D Dmitriy Zaporozhets

Merge branch 'reserverd-project-names' into 'master'

Disable reserverd project names

Fixes #1550

See merge request !1471
......@@ -29,7 +29,7 @@ v 7.8.0
- Fix commits pagination
-
- Async load a branch information at the commit page
-
- Disable blacklist validation for project names
- Allow configuring protection of the default branch upon first push (Marco Wessel)
-
-
......
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册