Issue: cfml comment breaks optional semicolon
Steps to Reproduce:
1) Run:
<cfscript>
f = function(){var foo="bar"}
</cfscript>
<!---<cfscript>
a = "b"
</cfscript>--->
Actual Result: Random exception dependent upon the contents of the CFML comment
Expected Result: no output
2) Remove the blank line between the cfscript pairs, or add a semicolon after the code within the 2nd cfscript pair
Actual Result: "--->"
Expected Result: no output
Verified in build 2018.0.01.308605 (PreRelease).
Filed as CF-4202541.
No comments:
Post a Comment