From 6a05cb69e4cfb8fa763fb121428e50b8fee9a339 Mon Sep 17 00:00:00 2001 From: Timm Date: Sun, 7 Jul 2013 11:30:05 +0200 Subject: Added video poster sanitization testing (from @vipulnsward). --- actionview/test/template/sanitizers_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionview') diff --git a/actionview/test/template/sanitizers_test.rb b/actionview/test/template/sanitizers_test.rb index 0e1c22a02a..4dab987cea 100644 --- a/actionview/test/template/sanitizers_test.rb +++ b/actionview/test/template/sanitizers_test.rb @@ -122,6 +122,11 @@ class SanitizerTest < ActionController::TestCase assert_sanitized %(), %(baz) end + def test_video_poster_sanitization + assert_sanitized %(), %() + assert_sanitized %(), %() + end + # RFC 3986, sec 4.2 def test_allow_colons_in_path_component assert_sanitized("foo") -- cgit v1.2.3