1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add CHANGELOG entry for #10576

[ci skip]
This commit is contained in:
Rafael Mendonça França 2013-05-12 15:04:05 -03:00
parent 8d3c67fbc4
commit bf8fa7c5c7

View file

@ -1,3 +1,10 @@
* Replace `multi_json` with `json`.
Since Rails require Ruby 1.9 and since Ruby 1.9 includes `json` in the standard library,
`multi_json` is no longer necessary.
*Erik Michaels-Ober*
* Added escaping of U+2028 and U+2029 inside the json encoder. * Added escaping of U+2028 and U+2029 inside the json encoder.
These characters are legal in JSON but break the Javascript interpreter. These characters are legal in JSON but break the Javascript interpreter.
After escaping them, the JSON is still legal and can be parsed by Javascript. After escaping them, the JSON is still legal and can be parsed by Javascript.