Defect #26498
Rails5: scm entry *.html causes 404 Not Found
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | SCM | |||
Target version: | - | |||
Resolution: | Affected version: |
Description
=== (+9,-9) config/routes.rb ===
@@ -244,7 +244,7 @@
get 'projects/:id/repository/:repository_id/changes(/*path)',
:to => 'repositories#changes',
- :format => false
+ :format => 'html'
Started GET "/projects/redmine-svn/repository/entry/trunk/public/404.html" for 127.0.0.1 at 2017-07-22 19:29:57 +0900 Processing by RepositoriesController#entry as HTML ... Shelling out: 'svn' list --xml 'http://svn.redmine.org/redmine/trunk/public'@HEAD --no-auth-cache --non-interactive ... Completed 404 Not Found in 3860ms (Views: 43.7ms | ActiveRecord: 3.2ms)
Related issues
Associated revisions
Fixed routes to html files in repositories (#26498).
Adds tests for path to an html file (#26498).
History
#1
Updated by Jean-Philippe Lang almost 5 years ago
- Status changed from New to Closed
- Target version deleted (
4.0.0)
Fixed, thanks for pointing this out.
#2
Updated by Jean-Philippe Lang almost 5 years ago
- Related to Feature #23630: Migrate to Rails 5.2 added