Displaying 2 results from an estimated 2 matches for "sanizitize".
Did you mean:
sanitize
2012 Dec 08
0
Security - How to sanizitize JSON?
Hi, I''m on Rails 3.2.8 and one of my apps sends some json to create DB
objects. What''s the best way to sanitize json?
I found this post claiming that for json we need to escape manually
since json_escape is broken:
http://blog.bigbinary.com/2012/05/10/xss-and-rails.html
I tried using the sanitize gem (https://github.com/rgrove/sanitize/) but
when using it on a json string it
2009 Apr 12
9
invalid byte sequence utf-8 OR best option to sanitize content brought in with net::http? single non-utf character causes rails to crash
hi all,
platform: debian lenny, ruby1.91.p0, passenger/apache-multithread,
rails2.3 in vendor/postres and sql server via odbc. all current gems.
i have legacy asp content on win2k servers that i wrap in rails
controllers. this all worked great with ruby1.8, but now that we are
dealing with encoded strings in ruby1.9, i am having page crashes
randomly as users have cut and pasted high ascii code