Skip to content

Commit 1b3d705

Browse files
committed
Expand link shortcut tests in XSS issue 604 case
1 parent b633861 commit 1b3d705

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

test/tm-cases/issue603_xss.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<p><img src="code&gt;&quot; onerror=alert()//&lt;/code" alt="" /></p>
22

33
<p><img src="&quot; onerror=alert()//" alt="" />
4-
<a href="#"></a></p>
4+
<a href="#"></a>
5+
<img src="`&quot; onerror=alert()//`" alt="" />
6+
<img src="&lt;code&gt;&quot; onerror=alert()//&lt;code&gt;" alt="" /></p>

test/tm-cases/issue603_xss.text

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
![][XSS]
55
[][XSS]
6+
![][XSS2]
7+
![][XSS3]
68

79

810
[XSS]: " onerror=alert()//
11+
[XSS2]: `" onerror=alert()//`
12+
[XSS3]: <code>" onerror=alert()//<code>

0 commit comments

Comments
 (0)