Merge "Sync up with Parsoid parserTests."
[lhc/web/wiklou.git] / tests / parser / parserTests.txt
index f308b8e..3e9fef8 100644 (file)
@@ -27236,3 +27236,12 @@ Thumbnail output
 </div>
 </div>
 !! end
+
+!! test
+unclosed internal link XSS (T137264)
+!! wikitext
+[[#%3Cscript%3Ealert(1)%3C/script%3E|
+!! html
+<p>[[#&lt;script&gt;alert(1)&lt;/script&gt;|
+</p>
+!! end