Displaying 2 results from an estimated 2 matches for "rgrove".
Did you mean:
grove
2012 Dec 08
0
Security - How to sanizitize JSON?
...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 returns NoMethodError (undefined
method `strip'' for #<ActiveSupport::HashWithIndifferentAccess:...
Later on I generate json that is presented raw in the browser and part
of that json is comming from this initial json so it is vulnerable...
2013 Apr 23
3
Using dsync to export mail to remote IMAP account
I've read the web/man pages on dsync, but it's not clear to me whether
dsync can be used to export (rather than import) a user's mailbox to a
remote non-dovecot IMAP account.
(The intention is to use it whenever a user leaves and wants to copy their
local mail to Google or whatever. I currently use uw-imapd's mailutil --
it works, but it's dreadfully slow.)
As a first crack