We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0563606 commit 6a56063Copy full SHA for 6a56063
javascript/ql/test/query-tests/Security/CWE-693/InsecureHelmetBad.js
@@ -4,9 +4,9 @@ const helmet = require("helmet");
4
const app = express();
5
6
app.use(helmet({
7
- contentSecurityPolicy: false, // $ Alert - switch off default CSP
8
- frameguard: false // $ Alert - switch off default frameguard
9
-}));
+ contentSecurityPolicy: false, // $ RelatedLocation - switch off default CSP
+ frameguard: false // $ RelatedLocation - switch off default frameguard
+})); // $ Alert
10
11
app.get("/", (req, res) => {
12
res.send("Hello, world!");
0 commit comments