Commit a43eaf5c authored by James Lopez's avatar James Lopez

Merge branch '272984-fj-forbid-autocomplete-projects' into 'master'

Disallow /autocomplete/projects in Robots.txt

See merge request gitlab-org/gitlab!46115
parents 44f97ac3 1d7c3b8a
---
title: Disallow /autocomplete/projects route in robots.txt
merge_request: 46115
author:
type: changed
......@@ -14,6 +14,7 @@
# Global routes
User-Agent: *
Disallow: /autocomplete/users
Disallow: /autocomplete/projects
Disallow: /search
Disallow: /admin
Disallow: /profile
......
......@@ -27,6 +27,7 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do
it 'blocks the requests' do
requests = [
'/autocomplete/users',
'/autocomplete/projects',
'/search',
'/admin',
'/profile',
......
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