Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1c2d9015
Commit
1c2d9015
authored
Dec 21, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitelist next project names: notes, services
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f3f42f7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/validators/project_path_validator.rb
app/validators/project_path_validator.rb
+1
-1
changelogs/unreleased/dz-whitelist-more-project-names-2.yml
changelogs/unreleased/dz-whitelist-more-project-names-2.yml
+4
-0
No files found.
app/validators/project_path_validator.rb
View file @
1c2d9015
...
...
@@ -15,7 +15,7 @@ class ProjectPathValidator < ActiveModel::EachValidator
# 'tree' as project name and 'deploy_keys' as route.
#
RESERVED
=
(
NamespaceValidator
::
RESERVED
-
%w[dashboard help ci admin search]
+
%w[dashboard help ci admin search
notes services
]
+
%w[tree commits wikis new edit create update logs_tree
preview blob blame raw files create_dir find_file]
).
freeze
...
...
changelogs/unreleased/dz-whitelist-more-project-names-2.yml
0 → 100644
View file @
1c2d9015
---
title
:
'
Whitelist
next
project
names:
notes,
services'
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment