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:
parent
e46535ba67
commit
8dee51445d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue