Status/Resolution/Reason: Needs Review/Fixed/FixLater
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 05/21/2018
Components: Language, CFSCRIPT
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / 2018.0.0.309819
Priority/Frequency: Normal / All users will encounter
Locale/System: / Platforms All
Vote Count: 0
Issue: cfml comment breaks optional semicolon
Steps to Reproduce:
1) Run:
-----------
{code:java}
<cfscript>
f = function(){var foo="bar"}
</cfscript>
<!---<cfscript>
a = "b"
</cfscript>--->
{code}
-----------
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
Related post: http://blog.cfaether.com/2018/05/cfml-comment-breaks-optional-semicolon.html
Attachments:
Comments: