Commit bf114b31 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Add contents of `public` as forbidden top-level routes

parent 1dcf799c
...@@ -14,14 +14,23 @@ module Gitlab ...@@ -14,14 +14,23 @@ module Gitlab
TOP_LEVEL_ROUTES = %w[ TOP_LEVEL_ROUTES = %w[
- -
.well-known .well-known
404.html
422.html
500.html
502.html
503.html
abuse_reports abuse_reports
admin admin
api api
apple-touch-icon-precomposed.png
apple-touch-icon.png
assets assets
autocomplete autocomplete
ci ci
dashboard dashboard
deploy.html
explore explore
favicon.ico
files files
groups groups
health_check health_check
...@@ -39,6 +48,7 @@ module Gitlab ...@@ -39,6 +48,7 @@ module Gitlab
s s
search search
sent_notifications sent_notifications
slash-command-logo.png
snippets snippets
u u
unicorn_test unicorn_test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment