Skip to content

Commit e172d55

Browse files
esbenaasgerf
andauthored
Update javascript/ql/test/query-tests/Security/CWE-020/IncompleteUrlSchemeCheck.js
Co-authored-by: Asger F <[email protected]>
1 parent 76bce40 commit e172d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-020/IncompleteUrlSchemeCheck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function test12(url) {
9292
function test13(url) {
9393
let scheme = goog.uri.utils.getScheme(url);
9494
switch (scheme) {
95-
case "javascript": // NOT OK - but not detected due to lack of `switch` support
95+
case "javascript": // NOT OK
9696
case "data":
9797
return "about:blank";
9898
default:

0 commit comments

Comments
 (0)