module Rack
module Rack::Protection
module Rack::Protection::VERSION
class Rack::Protection::AuthenticityToken
class Rack::Protection::Base
class Rack::Protection::EscapedParams
class Rack::Protection::FormToken
class Rack::Protection::FrameOptions
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::XSSHeader
rack-protection
0.1.0
# accepts?
def accepts?(env) super or referrer(env) == Request.new(env).host end