Defect #33752 » big_files_upload.diff
| app/controllers/attachments_controller.rb (working copy) | ||
|---|---|---|
|
return
|
||
|
end
|
||
|
@attachment = Attachment.new(:file => request.raw_post)
|
||
|
@attachment = Attachment.new(:file => request.body)
|
||
|
@attachment.author = User.current
|
||
|
@attachment.filename = params[:filename].presence || Redmine::Utils.random_hex(16)
|
||
|
@attachment.content_type = params[:content_type].presence
|
||