BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

AST string values incorrectly unescaped outside of cfoutput

Description

The following code

<cfoutpout>##</cfoutput>

creates a string literal (inside of a buffer output) with a value of # since we un-escape any escaping needed in the source code and store the “actual” value. (The pretty printer will re-apply escapes as-needed)

However the following code

##

should create a string literal (inside a buffer output) with a value of ## since we don’t need to un-escape this value as it was not escaped in the first place! It's Just a literal ##.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created August 23, 2024 at 7:23 PM
Updated August 23, 2024 at 10:15 PM
Resolved August 23, 2024 at 10:15 PM

Flag notifications