Commit 8267ded5 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Allow [#id] as subject to reply by email (#3653).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3031 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1d8b4ee7
......@@ -79,8 +79,8 @@ class MailHandler < ActionMailer::Base
private
MESSAGE_ID_RE = %r{^<redmine\.([a-z0-9_]+)\-(\d+)\.\d+@}
ISSUE_REPLY_SUBJECT_RE = %r{\[[^\]]+#(\d+)\]}
MESSAGE_REPLY_SUBJECT_RE = %r{\[[^\]]+msg(\d+)\]}
ISSUE_REPLY_SUBJECT_RE = %r{\[[^\]]*#(\d+)\]}
MESSAGE_REPLY_SUBJECT_RE = %r{\[[^\]]*msg(\d+)\]}
def dispatch
headers = [email.in_reply_to, email.references].flatten.compact
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment