Closed eileencodes closed 6 years ago
Should we also take care of the /
? https://github.com/flori/json/pull/235/files
Should we also take care of the /?
Ah, yes we should
I added support for encoding slashes and force pushed 👍
Thanks @eileencodes and @tenderlove!
This adds a feature to support entity encoding to escape characters that can be used XSS attacks. This is to match the behavior in ActiveSupport::JSON. The purpose of matching AS::JSON behavior is so we can replace it with Yajl so we can use the faster version.
Worked on this with @tenderlove to add the same support we have in ActiveSupport::JSON
cc/ @rafaelfranca @jeremy cc/ @brianmario