OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05b778
)
Fixed: error when downloading a file with no matching mime type (#3782).
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Tue, 5 Jan 2010 18:16:03 +0000
(18:16 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Tue, 5 Jan 2010 18:16:03 +0000
(18:16 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3281
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/controllers/attachments_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/attachments_controller.rb
b/app/controllers/attachments_controller.rb
index
92fa01e
..
5b2acc8
100644
(file)
--- a/
app/controllers/attachments_controller.rb
+++ b/
app/controllers/attachments_controller.rb
@@
-82,6
+82,6
@@
private
if content_type.blank?
content_type = Redmine::MimeType.of(attachment.filename)
end
- content_type
+ content_type
.to_s
end
end