Commit b5fc0c85 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '271550-fj-forbid-realtime_changes-in-robots' into 'master'

Resolve "Disallow `realtime_changes` route in Robots.txt"

See merge request gitlab-org/gitlab!45986
parents c04ba78d 625b5bd5
---
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