Auto-detect attachment content type when blank (#3782).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3258 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/attachments_controller.rb 9 additions, 1 deletionapp/controllers/attachments_controller.rb
- app/models/attachment.rb 3 additions, 0 deletionsapp/models/attachment.rb
- lib/redmine/mime_type.rb 17 additions, 2 deletionslib/redmine/mime_type.rb
- lib/tasks/migrate_from_trac.rake 1 addition, 1 deletionlib/tasks/migrate_from_trac.rake
- test/functional/attachments_controller_test.rb 8 additions, 0 deletionstest/functional/attachments_controller_test.rb
- test/unit/attachment_test.rb 8 additions, 0 deletionstest/unit/attachment_test.rb
Please register or sign in to comment