Skip to content

Commit 5019074

Browse files
committed
JS: Fix a comment
Apparently this comment used to say 'NOT OK' but clearly 'OK' was meant
1 parent 01e3988 commit 5019074

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Security/CWE-598

1 file changed

+1
-1
lines changed

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)