Dwayne Litzenberger
2009-Dec-22 21:55 UTC
Patch to fix JSON control character encoding bug (#3345 "to_json does not escape unicode characters")
Hi there! I''ve attached a patch that makes ActiveSupport::JSON escape the control characters \x00-\x1f, per RFC 4627. There are two versions of the patch: One against 2-3-stable, and one against master (there''s no real difference between them, but git-am seems to be very picky). See the ticket at: https://rails.lighthouseapp.com/projects/8994/tickets/3345-to_json-does-not-escape-unicode-characters Cheers, - Dwayne Dwayne Litzenberger Lead Healthcare IT Developer, Infonium Inc. Office +1-613-722-0711 x29 Toll-free +1-866-674-4494 x29 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.