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
document_test.rb
node_test.rb
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
text_node_test.rb
tokenizer_test.rb