Project

General

Profile

Patch #2059 » mail_hander_broken_attachment_filename.diff

Nobuhiro IMAI, 2009-09-24 07:24

View differences:

app/models/mail_handler.rb
def add_attachments(obj)
if email.has_attachments?
email.attachments.each do |attachment|
attachment.original_filename = attachment.original_filename.toutf8
Attachment.create(:container => obj,
:file => attachment,
:author => user,
(3-3/3)