module Rack
module Rack::Protection
class Rack::Protection::AuthenticityToken
class Rack::Protection::Base
class Rack::Protection::ContentSecurityPolicy
class Rack::Protection::CookieTossing
class Rack::Protection::EscapedParams
class Rack::Protection::FormToken
class Rack::Protection::FrameOptions
class Rack::Protection::HttpOrigin
class Rack::Protection::IPSpoofing
class Rack::Protection::JsonCsrf
class Rack::Protection::PathTraversal
class Rack::Protection::RemoteReferrer
class Rack::Protection::RemoteToken
class Rack::Protection::SessionHijacking
class Rack::Protection::StrictTransport
class Rack::Protection::XSSHeader
rack-protection
2.0.0.rc2
# escape_hash
def escape_hash(hash) hash = hash.dup hash.each { |k,v| hash[k] = escape(v) } hash end