Skip to content

Commit b54ff3b

Browse files
committed
JS: Accept an alert
1 parent 576dbcb commit b54ff3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/test/query-tests/Security/CWE-312/CleartextStorage2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var url = require('url');
44
var server = https.createServer(function(req, res) {
55
let pw = url.parse(req.url, true).query.current_password;
66
res.writeHead(200, {
7-
'Set-Cookie': 'password=' + pw,
7+
'Set-Cookie': 'password=' + pw, // $ Alert[js/clear-text-storage-of-sensitive-data]
88
'Content-Type': 'text/plain'
99
});
1010
});

0 commit comments

Comments
 (0)