Skip to content

Commit 92dfdc8

Browse files
asgerfNapalys
andauthored
Update javascript/ql/test/query-tests/Security/CWE-116/IncompleteSanitization/UnsafeHtmlExpansion.js
Co-authored-by: Napalys Klicius <[email protected]>
1 parent 21d42bc commit 92dfdc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-116/IncompleteSanitization/UnsafeHtmlExpansion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
function getExpanded() {
3333
return expanded;
3434
}
35-
html.replace(defaultPattern, getExpanded()); // MISSING: Alert - not tracking the expansion string
35+
html.replace(defaultPattern, getExpanded()); // $ MISSING: Alert - not tracking the expansion string
3636
html.replace(defaultPattern, something); // OK - possibly
3737
defaultPattern.match(something); // OK - possibly
3838
getPattern().match(something); // OK - possibly

0 commit comments

Comments
 (0)