Skip to content

Commit 0f23c33

Browse files
committed
JS: Fix a comment
Apparently this comment used to say 'NOT OK' but clearly 'OK' was meant
1 parent cd788bc commit 0f23c33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • javascript/ql/test/query-tests/Security/CWE-598

javascript/ql/test/query-tests/Security/CWE-598/tst.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ app.post("/login", (req, res) => {
2222
});
2323

2424
app.get("/login2", (req, res) => {
25-
const username = req.param('username'); // $ Alert - usernames are fine
25+
const username = req.param('username'); // OK - usernames are fine
2626
const password = req.param('password'); // $ Alert - password read
2727
checkUser(username, password, (result) => {
2828
res.send(result);

0 commit comments

Comments
 (0)