summaryrefslogtreecommitdiffstats
path: root/app/views/welcome
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-07-02 03:02:44 +0000
committerGo MAEDA <maeda@farend.jp>2020-07-02 03:02:44 +0000
commitfeccfdd9857df06ed778b05cdfed6da1e6d78f14 (patch)
tree8ea8a9ff2aca50f8d93638d922a1b82ea00a82d6 /app/views/welcome
parent97bf4f01e8e36ec0fd354209d3b31ad85e0f60c9 (diff)
downloadredmine-feccfdd9857df06ed778b05cdfed6da1e6d78f14.tar.gz
redmine-feccfdd9857df06ed778b05cdfed6da1e6d78f14.zip
robots.txt: disallow crawling issues list with a query string (#6734).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19844 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/welcome')
-rw-r--r--app/views/welcome/robots.text.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/welcome/robots.text.erb b/app/views/welcome/robots.text.erb
index 6f66278ad..16acc8111 100644
--- a/app/views/welcome/robots.text.erb
+++ b/app/views/welcome/robots.text.erb
@@ -10,3 +10,6 @@ Disallow: <%= url_for(issues_gantt_path) %>
Disallow: <%= url_for(issues_calendar_path) %>
Disallow: <%= url_for(activity_path) %>
Disallow: <%= url_for(search_path) %>
+Disallow: <%= url_for(issues_path(:sort => '')) %>
+Disallow: <%= url_for(issues_path(:query_id => '')) %>
+Disallow: <%= url_for(issues_path) %>?*set_filter=