Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Bradley Wood / Bradley Wood (Bradley Wood)
Created: 04/05/2016
Components: Language, Serialization
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 8
As reported by Sean Corfield in CFML Slack
Problem Description:
serializeJSON() doesn't escape control characters
Steps to Reproduce:
writedump(serializeJSON("I don" & chr(18) & "t know!"));
Actual Result:
"I dont know!"
Expected Result:
"I don\u0012t know!"
Any Workarounds:
Use another serializer.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4136028
External Customer Info:
External Company:
External Customer Name: Bradley Wood
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: