aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-10-19 23:07:46 -0400
committerGeorge Claghorn <george@basecamp.com>2018-10-19 23:07:46 -0400
commitb3641075fc4568b783f59b919fc8a5fb795d09ce (patch)
tree4aff28c2748e579d0f872547a73957c0ed07155f /app/controllers
parent9182bbd1ebc88699ff101d7a0a304f387b091140 (diff)
downloadrails-b3641075fc4568b783f59b919fc8a5fb795d09ce.tar.gz
rails-b3641075fc4568b783f59b919fc8a5fb795d09ce.tar.bz2
rails-b3641075fc4568b783f59b919fc8a5fb795d09ce.zip
Go strict
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
index 19891e7f9c..0b01087c3d 100644
--- a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
+++ b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
@@ -45,7 +45,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ActionMailbo
end
def expected_signature
- Base64.encode64(OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1.new, key, message)).strip
+ Base64.strict_encode64 OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1.new, key, message)
end
def message