Skip to content

Commit 4254637

Browse files
committed
Add an extra test
1 parent 7724638 commit 4254637

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ test('sanitize()', function(t) {
360360
},
361361
invalid: {
362362
javascript: 'javascript:alert(1)',
363+
whitespace: ' javascript:while(1){}',
363364
'Unicode LS/PS I': '\u2028javascript:alert(1)',
364365
'Unicode Whitespace (#1)': ' javascript:alert(1)',
365366
'Unicode Whitespace (#2)': ' javascript:alert(1)',

0 commit comments

Comments
 (0)