Changeset 5636 in subversion


Ignore:
Timestamp:
Dec 21, 2011 5:21:59 AM (17 months ago)
Author:
alec
Message:
  • Update tests
Location:
branches/release-0.7/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/release-0.7/tests/mailfunc.php

    r5499 r5636  
    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"); 
  • branches/release-0.7/tests/src/BID-26800.txt

    r2323 r5636  
    1111<p>&lt;div&gt; block</p> 
    1212<div style="font-style:italic">valid css</div> 
     13<div style="color:red; background:url('//somedomain.com/somepath/somefile.png')"> 
    1314<div style="{ left:expression( alert(&#039;expression!&#039;) ) }"> 
    1415<div style="{ background:url( alert(&#039;URL!&#039;) ) }"> 
     
    1718<p>Inject comment text</p> 
    1819<div style="{ left:exp/*  */ression( alert(&#039;xss3&#039;) ) }"> 
    19 <div style="{ background:u/* */rl( alert(&#039;xssurl3&#039;) ) }"> 
     20<div style=" background:u/* */rl( alert(&#039;xssurl3&#039;) ) "> 
    2021 
    2122<h1>4 test</h1> 
Note: See TracChangeset for help on using the changeset viewer.