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

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Esben Sparre Andreasen
2020-05-22 13:33:34 +02:00
committed by GitHub
parent 76bce40a8b
commit e172d55ecb

View File

@@ -92,7 +92,7 @@ function test12(url) {
function test13(url) {
let scheme = goog.uri.utils.getScheme(url);
switch (scheme) {
case "javascript": // NOT OK - but not detected due to lack of `switch` support
case "javascript": // NOT OK
case "data":
return "about:blank";
default: