summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-01-23 23:42:17 +0000
committerGo MAEDA <maeda@farend.jp>2023-01-23 23:42:17 +0000
commit334d411899b31a78bbceb61c9c2e4205f6ef9edb (patch)
tree8f564a098db8361ad42ed7349a7d93ee34ea4eb3 /app
parente7bfab6f4309b83dd5e195d2acbb4f196035c462 (diff)
downloadredmine-334d411899b31a78bbceb61c9c2e4205f6ef9edb.tar.gz
redmine-334d411899b31a78bbceb61c9c2e4205f6ef9edb.zip
Merged r22070 from trunk to 5.0-stable (#38201).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22072 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/welcome/robots.text.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/welcome/robots.text.erb b/app/views/welcome/robots.text.erb
index a13cdc85e..e4ce3dbcb 100644
--- a/app/views/welcome/robots.text.erb
+++ b/app/views/welcome/robots.text.erb
@@ -10,8 +10,8 @@ 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) %>?*sort=
+Disallow: <%= url_for(issues_path) %>?*query_id=
Disallow: <%= url_for(issues_path) %>?*set_filter=
Disallow: <%= url_for(issues_path(:trailing_slash => true)) %>*.pdf$
Disallow: <%= url_for(projects_path(:trailing_slash => true)) %>*.pdf$