1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

fix copy and paste error on excluding content_security_policy as default

This commit is contained in:
Christian Meier 2014-02-21 12:45:13 +00:00
parent e46535ba67
commit 8dee51445d

View file

@ -26,7 +26,7 @@ module Rack
use ::Rack::Protection::RemoteReferrer, options if use_these.include? :remote_referrer
use ::Rack::Protection::AuthenticityToken, options if use_these.include? :authenticity_token
use ::Rack::Protection::FormToken, options if use_these.include? :form_token
use ::Rack::Protection::ContentSecurityPolicy, options unless except.include? :frame_options
use ::Rack::Protection::ContentSecurityPolicy, options unless except.include? :content_security_policy
use ::Rack::Protection::FrameOptions, options unless except.include? :frame_options
use ::Rack::Protection::HttpOrigin, options unless except.include? :http_origin
use ::Rack::Protection::IPSpoofing, options unless except.include? :ip_spoofing