Browse Source

Enabled pending test

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
0025a49376
  1. 6
      test/fixtures/remarkable/_pending.txt
  2. 10
      test/fixtures/remarkable/xss.txt

6
test/fixtures/remarkable/_pending.txt

@ -1,6 +0,0 @@
.
![xss link](javascript:alert(1))
.
<p>![xss link](javascript:alert(1))</p>
.

10
test/fixtures/remarkable/xss.txt

@ -44,3 +44,13 @@ Should not allow some protocols in links and images
. .
<p><a href="&amp;#34;&amp;#62;&amp;#60;script&amp;#62;alert&amp;#40;&amp;#34;xss&amp;#34;&amp;#41;&amp;#60;/script&amp;#62;">xss link</a></p> <p><a href="&amp;#34;&amp;#62;&amp;#60;script&amp;#62;alert&amp;#40;&amp;#34;xss&amp;#34;&amp;#41;&amp;#60;/script&amp;#62;">xss link</a></p>
. .
Image parser use the same code base.
.
![xss link](javascript:alert(1))
.
<p>![xss link](javascript:alert(1))</p>
.

Loading…
Cancel
Save