diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-04 15:23:38 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-04 15:23:38 -0800 |
commit | 0e2fcb68d7d169574391b845df0973575fa41c08 (patch) | |
tree | 66051e5471da3a8cb35cbfd97dcacd0fb5a18a3d | |
parent | 3a533d48c634b0affd285832bd8dbc24435e19bc (diff) | |
download | gitlab-ce-0e2fcb68d7d169574391b845df0973575fa41c08.tar.gz |
Disable project path blacklist
Because since project always belongs to namespace it dont need such
strict restrictions any more
-rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index cfe40553ab5..390e1457ca1 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -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, |