Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NESTED_CFOUTPUT false positive #30

Closed
ryaneberly opened this issue Jan 23, 2015 · 2 comments
Closed

NESTED_CFOUTPUT false positive #30

ryaneberly opened this issue Jan 23, 2015 · 2 comments

Comments

@ryaneberly
Copy link
Contributor

        <cfoutput query="qryPopups" group="id">
            <cfif message NEQ "" and not(ListFind(arraytoList( arguments.quote.getErrorHandler().getShownErrors()),id))>
                <cfoutput>#message####id#|</cfoutput>
                <cfset arrayappend(arguments.quote.getErrorHandler().getShownErrors(),id)>
            </cfif>
            <cflog file="Quote_#quote.getOnlineNumber()#" text="Popup:#message#,#id#" type="informational">
        </cfoutput>
@ryaneberly
Copy link
Contributor Author

coworker:
But you should allow for multiple levels of cfoutput.
Just the inner most one can't have a

ryaneberly added a commit that referenced this issue Jan 28, 2015
check double nested cfoutput
@ryaneberly
Copy link
Contributor Author

Could not duplicate the false positive in master.

But did implement the double nested cfoutput check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant