aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/shared.html.erb
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@infonium.ca>2009-12-22 15:17:55 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2009-12-23 11:46:06 -0800
commit808cad2bb4f1534a66e20fb5bfedd09e3678e278 (patch)
tree5abffacdd6b9efeb054deecc0b26d5a306c52fbc /actionpack/test/fixtures/shared.html.erb
parent74b2e00ce848fac41409eedced1cd671f473b5ce (diff)
downloadrails-808cad2bb4f1534a66e20fb5bfedd09e3678e278.tar.gz
rails-808cad2bb4f1534a66e20fb5bfedd09e3678e278.tar.bz2
rails-808cad2bb4f1534a66e20fb5bfedd09e3678e278.zip
Fix ActiveSupport::JSON encoding of control characters [\x00-\x1f]
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>
Diffstat (limited to 'actionpack/test/fixtures/shared.html.erb')
0 files changed, 0 insertions, 0 deletions