Skip to content

Commit d4e7532

Browse files
Potential fix for code scanning alert no. 1312: Use of externally-controlled format string
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e0838da commit d4e7532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/utils/requestProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ const processRequest = (params) => {
649649
params.qstring.args = JSON.parse(params.qstring.args);
650650
}
651651
catch (SyntaxError) {
652-
console.log('Parse ' + apiPath + ' JSON failed %s', params.req.url, params.req.body);
652+
console.log('Parse %s JSON failed %s', apiPath, params.req.url, params.req.body);
653653
}
654654
}
655655

0 commit comments

Comments
 (0)