Commit 1d7c3b8a authored by Francisco Javier López's avatar Francisco Javier López Committed by James Lopez

Disallow /autocomplete/projects in Robots.txt

parent 3cc29387
---
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