diff options
author | alecpl <alec@alec.pl> | 2011-12-21 10:21:59 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-21 10:21:59 +0000 |
commit | 984ee8ce92c9293963575e1806506c4a33c2fbfc (patch) | |
tree | aa6a4bc996228a5797f6386b4d367da9f01e3950 /tests/mailfunc.php | |
parent | 96c946ee6ced0a9a68ef251528a3f900d5a01396 (diff) |
- Update tests
Diffstat (limited to 'tests/mailfunc.php')
-rw-r--r-- | tests/mailfunc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mailfunc.php b/tests/mailfunc.php index d8111c7df..1b1bbdf38 100644 --- a/tests/mailfunc.php +++ b/tests/mailfunc.php @@ -92,7 +92,7 @@ class rcube_test_mailfunc extends UnitTestCase function test_html_xss2() { $part = $this->get_html_part('src/BID-26800.txt'); - $washed = rcmail_print_body($part, array('safe' => true)); + $washed = rcmail_html4inline(rcmail_print_body($part, array('safe' => true)), 'dabody', '', $attr, true); $this->assertNoPattern('/alert|expression|javascript|xss/', $washed, "Remove evil style blocks"); $this->assertNoPattern('/font-style:italic/', $washed, "Allow valid styles"); |