Skip to content

Commit bf36137

Browse files
committed
update inconsistency comment for CWE-346
1 parent 16b0427 commit bf36137

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ server.on('request', (req, res) => {
4848

4949
// syntactic header defintion
5050
probalyAServer.on('request', (req, res) => {
51-
res.setHeader("Access-Control-Allow-Origin", null); // NOT OK (but not detected)
51+
res.setHeader("Access-Control-Allow-Origin", null); // NOT OK (but not detected) [INCONSISTENCY]
5252
res.setHeader("Access-Control-Allow-Credentials", true);
5353
});
5454

0 commit comments

Comments
 (0)