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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7cb36159
Commit
7cb36159
authored
May 02, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reject EE-specific group paths
parent
f9c6430f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
app/validators/dynamic_path_validator.rb
app/validators/dynamic_path_validator.rb
+7
-0
db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb
...t_migrate/20170412174900_rename_reserved_dynamic_paths.rb
+7
-0
No files found.
app/validators/dynamic_path_validator.rb
View file @
7cb36159
...
@@ -124,6 +124,13 @@ class DynamicPathValidator < ActiveModel::EachValidator
...
@@ -124,6 +124,13 @@ class DynamicPathValidator < ActiveModel::EachValidator
milestones
milestones
projects
projects
subgroups
subgroups
analytics
audit_events
hooks
ldap
ldap_group_links
notification_setting
pipeline_quota
]
.
freeze
]
.
freeze
CHILD_ROUTES
=
(
WILDCARD_ROUTES
|
GROUP_ROUTES
).
freeze
CHILD_ROUTES
=
(
WILDCARD_ROUTES
|
GROUP_ROUTES
).
freeze
...
...
db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb
View file @
7cb36159
...
@@ -41,6 +41,13 @@ class RenameReservedDynamicPaths < ActiveRecord::Migration
...
@@ -41,6 +41,13 @@ class RenameReservedDynamicPaths < ActiveRecord::Migration
labels
labels
milestones
milestones
subgroups
subgroups
analytics
audit_events
hooks
ldap
ldap_group_links
notification_setting
pipeline_quota
]
]
def
up
def
up
...
...
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