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: *
Disallow: /*/new
Disallow: /*/edit
Disallow: /*/raw
Disallow: /*/realtime_changes
# Group details
User-Agent: *
......
......@@ -79,7 +79,9 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do
'/foo/bar/-/incidents',
'/foo/bar/-/value_stream_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|
......
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