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.
escape interpolations in translate helper when using keys ending with…
Brakeman version 1.2.1 (https://github.com/presidentbeef/brakeman) reports the vulnerability in translate helper for Rails 2.3.14 using the rails_xss plugin.
Would this patch address the problem? What is the reason that it is not being applied? Has the vulnerability been addressed in any other way?