Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 01/04/2014
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / CF10_Update14
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 0
See https://groups.google.com/d/msg/railo/4EiksqmZgas/67SK5grA-rUJ & https://issues.jboss.org/browse/RAILO-2807
This applies to CF as well. Repo:
<cfscript>
st = {"link" = "/example/example1"};
json1 = serializeJSON(st);
writedump(json1); // {"link":"\/example\/example1"}
</cfscript>
CF should not be escaping fwd slashes: there's no need to. It should just stick to the JSON spec.
I've marked this as affecting CF10, but it effects CF9.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3689049
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
- November 09, 2015 00:00:00: 1_serializeJSON-test.cfm
Comments: