Changeset 5587 in subversion


Ignore:
Timestamp:
Dec 9, 2011 4:14:45 PM (18 months ago)
Author:
thomasb
Message:

Adapt test to real-world: html mail content is always sent through rcmail_html4inline()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/tests/mailfunc.php

    r5462 r5587  
    9393  { 
    9494    $part = $this->get_html_part('src/BID-26800.txt'); 
    95     $washed = rcmail_print_body($part, array('safe' => true)); 
     95    $washed = rcmail_html4inline(rcmail_print_body($part, array('safe' => true)), 'dabody', '', $attr, true); 
    9696 
    9797    $this->assertNoPattern('/alert|expression|javascript|xss/', $washed, "Remove evil style blocks"); 
Note: See TracChangeset for help on using the changeset viewer.