summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-07-02 16:13:33 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-07-02 16:13:33 +0000
commit45a744d77d40d33cfb252c9132e640834ec84bf9 (patch)
tree5a7d0dfb810ceceeeb17ee3d4608e4a4d4b46446
parent4b55bb913c48db9ccd1413875f52ea4b5e21a503 (diff)
downloadredmine-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.rb2
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