lib/shogun/server.rb in shogun-3.2.0 vs lib/shogun/server.rb in shogun-3.4.0
- old
+ new
@@ -1,10 +1,9 @@
module Shogun
module Server
def serve
@rack.use(Rack::Log, @logger)
@rack.use(Rack::Runtime)
- @rack.use(Rack::Protection::RemoteReferrer)
@rack.use(Rack::Protection::HttpOrigin, origin_whitelist: origin_whitelist)
@rack.use(Rack::Protection::EscapedParams)
@rack.use(Rack::Protection::XSSHeader)
@rack.use(Rack::Protection::FrameOptions)
@rack.use(Rack::Protection::PathTraversal)