Squashed commit of the following:
commit 9ef905f1 Author: Rafael Mendonça França <rafaelmfranca@gmail.com> Date: Tue Aug 7 22:38:40 2012 -0300 Fix tests about single quote escaping commit 780a7187 Author: Santiago Pastorino <santiago@wyeworks.com> Date: Tue Jul 31 22:25:54 2012 -0300 html_escape should escape single quotes https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content Closes #7215 Conflicts: actionpack/test/controller/new_base/render_template_test.rb actionpack/test/template/asset_tag_helper_test.rb actionpack/test/template/erb_util_test.rb actionpack/test/template/javascript_helper_test.rb actionpack/test/template/template_test.rb activesupport/lib/active_support/core_ext/string/output_safety.rb activesupport/test/core_ext/string_ext_test.rb railties/test/application/assets_test.rb
Showing
想要评论请 注册 或 登录