Patch #2059 » mail_hander_broken_attachment_filename.diff
| app/models/mail_handler.rb | ||
|---|---|---|
| 201 | 201 |
def add_attachments(obj) |
| 202 | 202 |
if email.has_attachments? |
| 203 | 203 |
email.attachments.each do |attachment| |
| 204 |
attachment.original_filename = attachment.original_filename.toutf8 |
|
| 204 | 205 |
Attachment.create(:container => obj, |
| 205 | 206 |
:file => attachment, |
| 206 | 207 |
:author => user, |
- « Previous
- 1
- 2
- 3
- Next »