From: Toshi MARUYAMA Date: Wed, 2 Jul 2014 16:13:33 +0000 (+0000) Subject: use \A instead of ^ for RegExp (#16190) X-Git-Tag: 2.6.0~113 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=45a744d77d40d33cfb252c9132e640834ec84bf9;p=redmine.git use \A instead of ^ for RegExp (#16190) git-svn-id: http://svn.redmine.org/redmine/trunk@13207 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 2e25a294f..69e70d21d 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -74,7 +74,7 @@ class MailHandler < ActionMailer::Base cattr_accessor :ignored_emails_headers @@ignored_emails_headers = { 'X-Auto-Response-Suppress' => 'oof', - 'Auto-Submitted' => /^auto-(replied|generated)/ + 'Auto-Submitted' => /\Aauto-(replied|generated)/ } # Processes incoming emails