Project

General

Profile

Patch #2059 » mail_hander_broken_subject.diff

patch to address the problem - Go MAEDA, 2008-10-21 14:00

View differences:

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)
(2-2/3)