aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimm <kaspth@gmail.com>2013-07-04 16:40:27 +0200
committerTimm <kaspth@gmail.com>2014-06-15 23:35:25 +0200
commitd3d979e4647162d32512484c675da6a0ae0b95fe (patch)
treeafa141661279fd037884b3819fa7329375cd6e42
parent167e998f6128f2a04170181030fceb21047f7b79 (diff)
downloadrails-d3d979e4647162d32512484c675da6a0ae0b95fe.tar.gz
rails-d3d979e4647162d32512484c675da6a0ae0b95fe.tar.bz2
rails-d3d979e4647162d32512484c675da6a0ae0b95fe.zip
Changed expected value from '<b>' to empty string.
-rw-r--r--actionview/test/template/sanitizers_test.rb2
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