Update to Rails 2.3.9 and itextomml 1.3.27
This commit is contained in:
parent
113e0af736
commit
ef30cc22df
200 changed files with 3065 additions and 1204 deletions
|
@ -10,9 +10,9 @@ class SafeBufferTest < ActiveSupport::TestCase
|
|||
assert_equal "", @buffer
|
||||
end
|
||||
|
||||
test "Should escape a raw string which is passed to them" do
|
||||
test "Should not escape a raw string unless using rails_xss" do
|
||||
@buffer << "<script>"
|
||||
assert_equal "<script>", @buffer
|
||||
assert_equal "<script>", @buffer
|
||||
end
|
||||
|
||||
test "Should NOT escape a safe value passed to it" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue