diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-07-02 16:13:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-07-02 16:13:33 +0000 |
commit | 45a744d77d40d33cfb252c9132e640834ec84bf9 (patch) | |
tree | 5a7d0dfb810ceceeeb17ee3d4608e4a4d4b46446 | |
parent | 4b55bb913c48db9ccd1413875f52ea4b5e21a503 (diff) | |
download | redmine-45a744d77d40d33cfb252c9132e640834ec84bf9.tar.gz redmine-45a744d77d40d33cfb252c9132e640834ec84bf9.zip |
use \A instead of ^ for RegExp (#16190)
git-svn-id: http://svn.redmine.org/redmine/trunk@13207 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |