Disallow some more namespaces

These routes seem to be taken
This commit is contained in:
Bob Van Landuyt 2017-04-03 14:07:15 +02:00
parent d6dfbf02f7
commit 56e031d303
2 changed files with 20 additions and 0 deletions

View File

@ -33,6 +33,22 @@ class NamespaceValidator < ActiveModel::EachValidator
u
unsubscribes
users
api
autocomplete
search
member
explore
uploads
import
notification_settings
abuse_reports
invites
help
koding
health_check
jwt
oauth
sent_notifications
].freeze
WILDCARD_ROUTES = %w[tree commits wikis new edit create update logs_tree

View File

@ -0,0 +1,4 @@
---
title: Improve validation of namespace & project paths
merge_request: 10413
author: