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
Jérome Perrin
gitlab-ce
Commits
3de40e03
Commit
3de40e03
authored
Dec 21, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dz-whitelist-more-project-names' into 'master'
Whitelist more project names See merge request !8227
parents
815e01cc
e1bf40e2
Changes
2
Show 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.yml
changelogs/unreleased/dz-whitelist-more-project-names.yml
+4
-0
No files found.
app/validators/project_path_validator.rb
View file @
3de40e03
...
@@ -15,7 +15,7 @@ class ProjectPathValidator < ActiveModel::EachValidator
...
@@ -15,7 +15,7 @@ class ProjectPathValidator < ActiveModel::EachValidator
# 'tree' as project name and 'deploy_keys' as route.
# 'tree' as project name and 'deploy_keys' as route.
#
#
RESERVED
=
(
NamespaceValidator
::
RESERVED
-
RESERVED
=
(
NamespaceValidator
::
RESERVED
-
%w[dashboard]
+
%w[dashboard
help ci admin search
]
+
%w[tree commits wikis new edit create update logs_tree
%w[tree commits wikis new edit create update logs_tree
preview blob blame raw files create_dir find_file]
).
freeze
preview blob blame raw files create_dir find_file]
).
freeze
...
...
changelogs/unreleased/dz-whitelist-more-project-names.yml
0 → 100644
View file @
3de40e03
---
title
:
'
Whitelist
next
project
names:
help,
ci,
admin,
search'
merge_request
:
8227
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