提交 27992ba6 编写于 作者: J Justin Collins

Fix CVE number

上级 92f2febf
......@@ -666,7 +666,7 @@ class Rails2Tests < Test::Unit::TestCase
:file => /environment\.rb/
end
def test_strip_tags_CVE_2012_3464_high
def test_strip_tags_CVE_2012_3465_high
assert_warning :type => :template,
:warning_type => "Cross Site Scripting",
:line => 3,
......
......@@ -603,7 +603,7 @@ class Rails3Tests < Test::Unit::TestCase
:file => /Gemfile/
end
def test_strip_tags_CVE_2012_3464
def test_strip_tags_CVE_2012_3465
assert_warning :type => :warning,
:warning_type => "Cross Site Scripting",
:message => /^Versions\ before\ 3\.0\.10\ have\ a\ vulnerabil/,
......
......@@ -571,7 +571,7 @@ class Rails31Tests < Test::Unit::TestCase
:file => /Gemfile/
end
def test_strip_tags_CVE_2012_3464
def test_strip_tags_CVE_2012_3465
assert_warning :type => :warning,
:warning_type => "Cross Site Scripting",
:message => /^Rails\ 3\.1\.0\ has\ a\ vulnerability\ in\ strip/,
......
......@@ -243,7 +243,7 @@ class RailsWithXssPluginTests < Test::Unit::TestCase
:file => /user\.rb/
end
def test_strip_tags_CVE_2012_3464
def test_strip_tags_CVE_2012_3465
assert_warning :type => :warning,
:warning_type => "Cross Site Scripting",
:message => /^All\ Rails\ 2\.x\ versions\ have\ a\ vulnerabil/,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册