mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
8d3c67fbc4
commit
bf8fa7c5c7
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue