mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Always serve thumbnails with disposition: attachment (#38417).
Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22294 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
deb792981b
commit
3de9413917
@ -89,7 +89,7 @@ class AttachmentsController < ApplicationController
|
||||
tbnail,
|
||||
:filename => filename_for_content_disposition(@attachment.filename),
|
||||
:type => detect_content_type(@attachment, true),
|
||||
:disposition => 'inline')
|
||||
:disposition => 'attachment')
|
||||
end
|
||||
else
|
||||
# No thumbnail for the attachment or thumbnail could not be created
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user