diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-01-24 11:24:55 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-01-24 11:24:55 +0000 |
commit | 63586e47e1b53bca023fdbba83bff2cd138feaf3 (patch) | |
tree | 5c9ed659c968f092317de6bab59a712e2584ca66 /lib/actionmailer_patches.rb | |
parent | 80e66c0fba234fc78f13d5e7635f65d2bc25fe58 (diff) | |
parent | b0a939a4d44077b4602176042ff4432b790561ad (diff) |
Merge branch 'release/0.16' into wdtk
Diffstat (limited to 'lib/actionmailer_patches.rb')
-rw-r--r-- | lib/actionmailer_patches.rb | 15 |
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 |