Skip to content

Commit b6910f5

Browse files
committed
JS: Accept an alert
1 parent deb6782 commit b6910f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-754/UnvalidatedDynamicMethodCall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ var actions = {
1212

1313
app.get('/perform/:action/:payload', function(req, res) {
1414
let action = actions[req.params.action];
15-
res.end(action(req.params.payload));
15+
res.end(action(req.params.payload)); // $ Alert
1616
});

0 commit comments

Comments
 (0)