Patch #2059 » mail_hander_broken_subject.diff
app/models/mail_handler.rb (working copy) | ||
---|---|---|
80 | 80 |
# check permission |
81 | 81 |
raise UnauthorizedAction unless user.allowed_to?(:add_issues, project) |
82 | 82 |
issue = Issue.new(:author => user, :project => project, :tracker => tracker, :category => category, :priority => priority) |
83 |
issue.subject = email.subject.chomp |
|
83 |
issue.subject = email.subject.chomp.toutf8
|
|
84 | 84 |
issue.description = email.plain_text_body.chomp |
85 | 85 |
issue.save! |
86 | 86 |
add_attachments(issue) |