We are testing whether we can migrate from ACF to Lucee, and ran into an issue in a cfquery and discrepancy in how the two servers handle single quotes.
Here’s sample code. Added to display the content of the query:
Of course, this is not a real query, but it shows the problem. The Mid function in Luccee and CF are one character off because of the single quotes in the string and because this is inside a cfquery.
@RCampus, I made a test for this. The mid function doesn’t reproduce as you said. Both ACF and lucee returns the same result. Could you please make sure again?