diff options
author | Timm <kaspth@gmail.com> | 2013-07-04 16:40:27 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-15 23:35:25 +0200 |
commit | d3d979e4647162d32512484c675da6a0ae0b95fe (patch) | |
tree | afa141661279fd037884b3819fa7329375cd6e42 /actionview/test | |
parent | 167e998f6128f2a04170181030fceb21047f7b79 (diff) | |
download | rails-d3d979e4647162d32512484c675da6a0ae0b95fe.tar.gz rails-d3d979e4647162d32512484c675da6a0ae0b95fe.tar.bz2 rails-d3d979e4647162d32512484c675da6a0ae0b95fe.zip |
Changed expected value from '<b>' to empty string.
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/sanitizers_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/sanitizers_test.rb b/actionview/test/template/sanitizers_test.rb index 3a2d95fc87..3ba017fca5 100644 --- a/actionview/test/template/sanitizers_test.rb +++ b/actionview/test/template/sanitizers_test.rb @@ -188,7 +188,7 @@ class SanitizerTest < ActionController::TestCase end def test_should_sanitize_unclosed_script - assert_sanitized %(<SCRIPT SRC=http://ha.ckers.org/xss.js?<B>), "<b>" + assert_sanitized %(<SCRIPT SRC=http://ha.ckers.org/xss.js?<B>), "" end def test_should_sanitize_half_open_scripts |