Patch #2059 » mail_hander_broken_attachment_filename.diff
| 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,
|
||
- « Previous
- 1
- 2
- 3
- Next »