1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/template/html-scanner
Piotr Sarnacki 37c84ed877 Don't ignore non Enumerable values passed to sanitize (closes #5585)
When someone accidentally passes a string to sanitize like:

sanitize("<span>foo</span>", :tags => "b")

there is no indication that it's the wrong way and span
will not be removed.
2012-03-27 02:26:17 +02:00
..
cdata_node_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
document_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
node_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
sanitizer_test.rb Don't ignore non Enumerable values passed to sanitize (closes #5585) 2012-03-27 02:26:17 +02:00
tag_node_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
text_node_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
tokenizer_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00