Commit 8c89fa2e authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '272986-fj-disallow-webide-route-in-robots' into 'master'

Resolve "Disallow WebIDE route in Robots.txt"

See merge request gitlab-org/gitlab!46117
parents c1ef6a80 36df3589
---
title: Disallow WebIDE route in robots.txt
merge_request: 46117
author:
type: changed
...@@ -23,6 +23,7 @@ Disallow: /users ...@@ -23,6 +23,7 @@ Disallow: /users
Disallow: /help Disallow: /help
Disallow: /s/ Disallow: /s/
Disallow: /-/profile Disallow: /-/profile
Disallow: /-/ide/
# Only specifically allow the Sign In page to avoid very ugly search results # Only specifically allow the Sign In page to avoid very ugly search results
Allow: /users/sign_in Allow: /users/sign_in
......
...@@ -37,6 +37,7 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do ...@@ -37,6 +37,7 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do
'/help', '/help',
'/s/', '/s/',
'/-/profile', '/-/profile',
'/-/ide/project',
'/foo/bar/new', '/foo/bar/new',
'/foo/bar/edit', '/foo/bar/edit',
'/foo/bar/raw', '/foo/bar/raw',
......
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