##// END OF EJS Templates
Fixed that REST Uploads fail with fastcgi (#10832)....
Jean-Philippe Lang -
r9469:1ad003dcc774
parent child
Show More
@@ -67,7 +67,7 class AttachmentsController < ApplicationController
67 67 return
68 68 end
69 69
70 @attachment = Attachment.new(:file => request.body)
70 @attachment = Attachment.new(:file => request.raw_post)
71 71 @attachment.author = User.current
72 72 @attachment.filename = Redmine::Utils.random_hex(16)
73 73
General Comments 0
You need to be logged in to leave comments. Login now