Skip to content

Commit e0838da

Browse files
Potential fix for code scanning alert no. 1311: 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 d94e813 commit e0838da

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
@@ -345,7 +345,7 @@ const processRequest = (params) => {
345345
params.qstring.args = JSON.parse(params.qstring.args);
346346
}
347347
catch (SyntaxError) {
348-
console.log('Parse ' + apiPath + ' JSON failed %s', params.req.url, params.req.body);
348+
console.log('Parse %s JSON failed %s', apiPath, params.req.url, params.req.body);
349349
}
350350
}
351351
switch (paths[3]) {

0 commit comments

Comments
 (0)