Skip to content

Commit

Permalink
Fix test code for javascript.express.security.audit.xss.direct-respon…
Browse files Browse the repository at this point in the history
…se-write (#3519)
  • Loading branch information
IagoAbal authored Nov 19, 2024
1 parent e8a1345 commit 0632f69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ app.get('/3', function (req, res) {
app.get('/2', function (req, res) {
var user = { user: req.query.name };
// ruleid: direct-response-write
res.send('Response</br>' + user.name);
res.send('Response</br>' + user.user);
});


Expand Down

0 comments on commit 0632f69

Please sign in to comment.