Skip to content

Commit 3db4cc7

Browse files
committed
test: unicode every character in the unicode test, for completeness
1 parent db365d0 commit 3db4cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/assets/testdata_sanitizer_tests1.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
{
5858
/* and finally a version that has a chance of actually demonstrating a javascript vulnerability */
5959
"name": "div_background_image_unicode_encoded4",
60-
"input": "<DIV STYLE=\"background-image:\u0075\u0072\u006C\u0028'\u006a\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u003a\u0061\u006c\u0065\u0072\u0074\u0028\u0031\u0032\u0033\u0034\u0029'\u0029\">foo</div>",
60+
"input": "<DIV STYLE=\"background-image:\u0075\u0072\u006C\u0028\u0027\u006a\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u003a\u0061\u006c\u0065\u0072\u0074\u0028\u0031\u0032\u0033\u0034\u0029\u0027\u0029\">foo</div>",
6161
"output": "<div>foo</div>"
6262
},
6363

0 commit comments

Comments
 (0)