cflint / CFLint

Static code analysis for CFML (a linter)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cflint ignore:QUERYPARAM_REQ does not work on multiline code

dominic-cm opened this issue · comments

Hi

Just found this out recently cflint ignore:QUERYPARAM_REQ only works in the code is on a single line and the cflint ignore:QUERYPARAM_REQ is at the very end.

if the query spans multiple lines it still reports a QUERYPARAM error.

This has to be on a single line.

var Qry = queryExecute("sql query here with dynamic table name",{},{datasource=Datasource}); //cflint ignore:QUERYPARAM_REQ