From 45a744d77d40d33cfb252c9132e640834ec84bf9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 2 Jul 2014 16:13:33 +0000 Subject: [PATCH] use \A instead of ^ for RegExp (#16190) git-svn-id: http://svn.redmine.org/redmine/trunk@13207 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mail_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5