Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19867
e93f8b46-1217-0410-a6f0-
8f06a7374b81
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$
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?$})
+ assert @response.body.match(%r{^Disallow: /issues/\*\.pdf\$\r?$})
+ assert @response.body.match(%r{^Disallow: /projects/\*\.pdf\$\r?$})
end
end