diff options
-rw-r--r-- | app/models/incoming_message.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index d976d318b..746c878fc 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -711,6 +711,7 @@ class IncomingMessage < ActiveRecord::Base text += body + "\n\n" else tempfile = Tempfile.new('foiextract') + tempfile.binmode tempfile.print body tempfile.flush default_params = { :append_to => text, :binary_output => false } |