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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.


Attachment: activesupport-json-encode-control-chars-fix.2-3-stable.diff
Description: Binary data

Attachment: activesupport-json-encode-control-chars-fix.master.diff
Description: Binary data

Reply via email to