mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
808cad2bb4
According to RFC 4627, only the following Unicode code points are allowed unescaped in JSON: unescaped = %x20-21 / %x23-5B / %x5D-10FFFF However, ActiveSupport::JSON did not escape the range %x00-1f. This caused parse errors when trying to decode the resulting output. [#3345 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |
||
---|---|---|
.. | ||
decoding_test.rb | ||
encoding_test.rb |