git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@19853
e93f8b46-1217-0410-a6f0-
8f06a7374b81
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=
assert_equal 'text/plain', @response.content_type
# Redmine::Utils.relative_url_root does not effect on Rails 5.1.4.
assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$})
+ assert @response.body.match(%r{^Disallow: /issues\?sort=\r?$})
+ assert @response.body.match(%r{^Disallow: /issues\?\*set_filter=\r?$})
end
end