Read more

Disable Rails XSS protection in ActionMailer views

Arne Hartherz
September 07, 2010Software engineer at makandra GmbH

This might eventually be fixed by Rails itself.\
Right now this is the way to have the rails_xss plugin not escape the body of ActionMailer mails.

Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot

Put this into config/initializers/mailers_without_rails_xss.rb:

Posted by Arne Hartherz to makandra dev (2010-09-07 10:51)