aboutsummaryrefslogtreecommitdiffstats
path: root/lib/actionmailer_patches.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-12-11 09:51:30 +0000
committerLouise Crow <louise.crow@gmail.com>2013-12-11 09:51:30 +0000
commit2c9288e5cc7eb0209f185018134ec6e3ebb91eda (patch)
tree918088c7ef4bc54cf18273af0efd2a31bf5bdbeb /lib/actionmailer_patches.rb
parent9cac4f2387416b5da77a4d5bbe7e21f937cf9129 (diff)
Remove old patch.
Diffstat (limited to 'lib/actionmailer_patches.rb')
-rw-r--r--lib/actionmailer_patches.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/actionmailer_patches.rb b/lib/actionmailer_patches.rb
deleted file mode 100644
index 600d3c8cc..000000000
--- a/lib/actionmailer_patches.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# Monkey patch for CVE-2013-4389
-# derived from http://seclists.org/oss-sec/2013/q4/118 to fix
-# a possible DoS vulnerability in the log subscriber component of
-# Action Mailer.
-
-require 'action_mailer'
-module ActionMailer
- class LogSubscriber < ActiveSupport::LogSubscriber
- def deliver(event)
- recipients = Array.wrap(event.payload[:to]).join(', ')
- info("\nSent mail to #{recipients} (#{event.duration.round(1)}ms)")
- debug(event.payload[:mail])
- end
- end
-end