Skip to content

Commit 662d7d5

Browse files
committed
JS: Fix missing alert marker that's actually reported
1 parent 2467f08 commit 662d7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ var express = require('express');
33
var app = express();
44
app.get('/remember-password', function (req, res) {
55
let pw = req.param("current_password");
6-
res.cookie("password", pw); // $ MISSING: Alert - Setting a cookie value with cleartext sensitive data.
6+
res.cookie("password", pw); // $ Alert[js/clear-text-storage-of-sensitive-data] - Setting a cookie value with cleartext sensitive data.
77
});

0 commit comments

Comments
 (0)