diff options
author | thomascube <thomas@roundcube.net> | 2011-12-10 01:50:03 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-12-10 01:50:03 +0000 |
commit | 98c2d69acf3001379dc008dc52b77b618c291140 (patch) | |
tree | a3523e1460d1e67a8152ca6b974447213ea3ec01 /tests | |
parent | 854397b216463d77561b8adadf880c3fbbcb8885 (diff) |
Be more strict in style attribute filtering
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/BID-26800.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/BID-26800.txt b/tests/src/BID-26800.txt index 513516c09..e4e2fe795 100644 --- a/tests/src/BID-26800.txt +++ b/tests/src/BID-26800.txt @@ -10,13 +10,14 @@ <h1>2 test</h1> <p><div> block</p> <div style="font-style:italic">valid css</div> +<div style="color:red; background:url('//somedomain.com/somepath/somefile.png')"> <div style="{ left:expression( alert('expression!') ) }"> <div style="{ background:url( alert('URL!') ) }"> <h1>3 test</h1> <p>Inject comment text</p> <div style="{ left:exp/* */ression( alert('xss3') ) }"> -<div style="{ background:u/* */rl( alert('xssurl3') ) }"> +<div style=" background:u/* */rl( alert('xssurl3') ) "> <h1>4 test</h1> <p>Using reverse solid to directe the codepoint</p> |