]> source.dussan.org Git - redmine.git/commit
Fix that Content-Type header field is empty when sending a file of unknown type ...
authorGo MAEDA <maeda@farend.jp>
Tue, 30 Apr 2019 01:37:25 +0000 (01:37 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 30 Apr 2019 01:37:25 +0000 (01:37 +0000)
commit6732ce9a93fcbd941d26579f6004e038544d5707
treee68dada840367dd7ed58f8db0e337d58f5c82b8a
parentbb0918fd1427d4fa0c657930a352a0d2e8c10268
Fix that Content-Type header field is empty when sending a file of unknown type (#31275).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18098 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/attachments_controller.rb
test/fixtures/attachments.yml
test/fixtures/files/2019/04/190430092344_redmine_logo.ai.unknown [new file with mode: 0644]
test/functional/attachments_controller_test.rb