Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
do not enable parameter escaping by default, fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Dec 30, 2011
1 parent 590c0e7 commit ae9c330
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rack/protection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def self.new(app, options = {})
# does not include: RemoteReferrer, AuthenticityToken and FormToken
except = Array options[:except]
Rack::Builder.new do
use ::Rack::Protection::EscapedParams, options unless except.include? :escaped_params
use ::Rack::Protection::FrameOptions, options unless except.include? :frame_options
use ::Rack::Protection::IPSpoofing, options unless except.include? :ip_spoofing
use ::Rack::Protection::JsonCsrf, options unless except.include? :json_csrf
Expand Down

0 comments on commit ae9c330

Please sign in to comment.