summaryrefslogtreecommitdiffstats
path: root/app/models/mail_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/mail_handler.rb')
-rw-r--r--app/models/mail_handler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index 23a51d83a..cda556f8e 100644
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -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