We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722f9c8 commit b0190c5Copy full SHA for b0190c5
README.md
@@ -75,7 +75,11 @@ SecureHeaders::Configuration.default do |config|
75
sandbox: true, # true and [] will set a maximally restrictive setting
76
plugin_types: %w(application/x-shockwave-flash),
77
script_src: %w('self'),
78
+ script_src_elem: %w('self'),
79
+ script_src_attr: %w('self'),
80
style_src: %w('unsafe-inline'),
81
+ style_src_elem: %w('unsafe-inline'),
82
+ style_src_attr: %w('unsafe-inline'),
83
worker_src: %w('self'),
84
upgrade_insecure_requests: true, # see https://www.w3.org/TR/upgrade-insecure-requests/
85
report_uri: %w(https://report-uri.io/example-csp)
0 commit comments