Commit 625b5bd5 authored by fjsanpedro's avatar fjsanpedro

Forbid issues realtime_changes route in robots.txt

parent 451fbf0c
---
title: Disallow realtime_changes route in robots.txt
merge_request: 45986
author:
type: changed
...@@ -36,6 +36,7 @@ User-Agent: * ...@@ -36,6 +36,7 @@ User-Agent: *
Disallow: /*/new Disallow: /*/new
Disallow: /*/edit Disallow: /*/edit
Disallow: /*/raw Disallow: /*/raw
Disallow: /*/realtime_changes
# Group details # Group details
User-Agent: * User-Agent: *
......
...@@ -79,7 +79,9 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do ...@@ -79,7 +79,9 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do
'/foo/bar/-/incidents', '/foo/bar/-/incidents',
'/foo/bar/-/value_stream_analytics', '/foo/bar/-/value_stream_analytics',
'/foo/bar/-/analytics', '/foo/bar/-/analytics',
'/foo/bar/insights' '/foo/bar/insights',
'/foo/bar/-/issues/123/realtime_changes',
'/groups/group/-/epics/123/realtime_changes'
] ]
requests.each do |request| requests.each do |request|
......
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