rails/rails_xss — pull request #13 by jingoro (2011-11-23 21:54:31+00:00)
Title: Patch for XSS fix

This is to incorporate a fix to escape interpolations in the translate helper method introduced in Rails 3.1.2. This patch should be compatible with Rails 2.3.8 ... 2.3.14.

I'd have preferred to method chain translate but there didn't seem to be a clean, backwards compatible way of doing so while still supporting multiple keys.

John