Appends the filename to the attachment url so that clients that ignore...
Appends the filename to the attachment url so that clients that ignore content-disposition http header get the real filename (#1649). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1686 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/attachments_controller.rb 3 additions, 0 deletionsapp/controllers/attachments_controller.rb
- app/helpers/application_helper.rb 11 additions, 0 deletionsapp/helpers/application_helper.rb
- app/helpers/issues_helper.rb 2 additions, 2 deletionsapp/helpers/issues_helper.rb
- app/models/attachment.rb 1 addition, 1 deletionapp/models/attachment.rb
- app/views/attachments/_links.rhtml 1 addition, 1 deletionapp/views/attachments/_links.rhtml
- app/views/attachments/diff.rhtml 1 addition, 1 deletionapp/views/attachments/diff.rhtml
- app/views/attachments/file.rhtml 1 addition, 1 deletionapp/views/attachments/file.rhtml
- app/views/projects/list_files.rhtml 1 addition, 2 deletionsapp/views/projects/list_files.rhtml
- config/routes.rb 4 additions, 2 deletionsconfig/routes.rb
- test/functional/attachments_controller_test.rb 15 additions, 0 deletionstest/functional/attachments_controller_test.rb
Please register or sign in to comment