summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-07-02 16:13:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-07-02 16:13:18 +0000
commit4b55bb913c48db9ccd1413875f52ea4b5e21a503 (patch)
treedd08f65d0b96b5119b1939492341f874d3cff31a /app
parentf6abc06eeea40c69896709c08f4ade4277280d78 (diff)
downloadredmine-4b55bb913c48db9ccd1413875f52ea4b5e21a503.tar.gz
redmine-4b55bb913c48db9ccd1413875f52ea4b5e21a503.zip
only ignore undesirable Auto-Submitted headers defined in RFC3834 (#16190)
Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13206 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 1b4600536..2e25a294f 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-/
+ 'Auto-Submitted' => /^auto-(replied|generated)/
}
# Processes incoming emails