diff options
author | Michael Koziarski <michael@koziarski.com> | 2013-11-01 11:50:05 +1300 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-12-02 16:42:16 -0800 |
commit | 0c7ac34aed1845044cd1911e5a775366d7ca41c1 (patch) | |
tree | 462daeee4fbdd1ab60134d5343d05ea44bb0b854 /activerecord/test/cases/nested_attributes_with_callbacks_test.rb | |
parent | bea9c9b4c0f9bb7356ea2058118fe40495432010 (diff) | |
download | rails-0c7ac34aed1845044cd1911e5a775366d7ca41c1.tar.gz rails-0c7ac34aed1845044cd1911e5a775366d7ca41c1.tar.bz2 rails-0c7ac34aed1845044cd1911e5a775366d7ca41c1.zip |
Stop using i18n's built in HTML error handling.
i18n doesn't depend on active support which means it can't use our html_safe
code to do its escaping when generating the spans. Rather than try to sanitize
the output from i18n, just revert to our old behaviour of rescuing the error
and constructing the tag ourselves.
Fixes: CVE-2013-4491
Diffstat (limited to 'activerecord/test/cases/nested_attributes_with_callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions