Anwendungsmöglichkeiten für Geschäftskontakte -
Newsletter senden - Senden von Werbung per E-Mail (besonders effizient).
-
diff --git a/test/unit/html_sanitizer_test.rb b/test/unit/html_sanitizer_test.rb
index a9e9e629b..e084a63cc 100644
--- a/test/unit/html_sanitizer_test.rb
+++ b/test/unit/html_sanitizer_test.rb
@@ -54,9 +54,9 @@ class HtmlSanitizerTest < ActiveSupport::TestCase
assert_equal(HtmlSanitizer.strict(' +ADw-SCRIPT+AD4-alert(\'XSS\');+ADw-/SCRIPT+AD4-'), ' +ADw-SCRIPT+AD4-alert(\'XSS\');+ADw-/SCRIPT+AD4-')
assert_equal(HtmlSanitizer.strict(''), '')
assert_equal(HtmlSanitizer.strict('XSS'), 'XSS')
+tt p://6 6.000146.0x7.147/">XSS'), 'XSS')
assert_equal(HtmlSanitizer.strict('XSS', true), 'XSS')
+tt p://6 6.000146.0x7.147/">XSS', true), 'XSS')
assert_equal(HtmlSanitizer.strict('XSS'), 'XSS')
assert_equal(HtmlSanitizer.strict('XSS', true), 'XSS')
assert_equal(HtmlSanitizer.strict(''), 'X')
@@ -113,7 +113,9 @@ test 123
assert_equal(HtmlSanitizer.strict(''), '')
assert_equal(HtmlSanitizer.strict(''), '')
assert_equal(HtmlSanitizer.strict(''), '')
-
+ assert_equal(HtmlSanitizer.strict('test'), 'test')
+ assert_equal(HtmlSanitizer.strict('test'), 'test')
+ assert_equal(HtmlSanitizer.strict('test'), 'test')
end
end
|