Skip to content

Commit 8495980

Browse files
authored
Update service.js
1 parent 341ef89 commit 8495980

File tree

1 file changed

+1
-1
lines changed
  • javascript/frameworks/cap/test/queries/loginjection/log-injection-type-sanitized/srv

1 file changed

+1
-1
lines changed

javascript/frameworks/cap/test/queries/loginjection/log-injection-type-sanitized/srv/service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ module.exports = cds.service.impl(function() {
66
this.on("send", async (msg) => {
77
const { messageToPass } = msg.data;
88
/* A log injection sink. */
9-
LOG.info("Received: ", messageToPass); // CAP log injection alert
9+
LOG.info("Received: ", messageToPass); // messageToPass is Integer, not a log injection!
1010
});
1111
})

0 commit comments

Comments
 (0)