Invalid syntax in cfloop condition does not throw error

Description

The following code correctly throws an error on Adobe CF but not in Lucee

<cfloop condition="1 eq 2 hey I like to eat spam!! @$%^&*()_+ "> test </cfloop> done

I get that the expressions at the end are lazy evaluated, but they should still be checked for valid syntax. I found this in real code when I left out the "and" keyword and the rest of my condition was simply ignored but no errors were thrown.

Activity

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Priority

Created 8 August 2019 at 23:30
Updated 20 July 2020 at 08:16