Skip to content

Commit 63e37b9

Browse files
committed
JS: Fix a test case bug due to a typo
We got a missing result on that line
1 parent 60b24a8 commit 63e37b9

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-601/ServerSideUrlRedirect/express.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ app.get('/array/join', function(req, res) {
110110
});
111111

112112
function sendUserToUrl(res, nextUrl) {
113-
res.redrect(nextUrl); // $ Alert - value comes from query parameter
113+
res.redirect(nextUrl); // $ Alert - value comes from query parameter
114114
}
115115

116116
app.get('/call', function(req, res) {

0 commit comments

Comments
 (0)