Namespace
- MODULE ActionDispatch::ContentSecurityPolicy::Request
- CLASS ActionDispatch::ContentSecurityPolicy::Middleware
Methods
- B
- I
- N
- P
- R
- S
- U
Attributes
[R] | directives |
Class Public methods
new()
Link
Instance Public methods
block_all_mixed_content(enabled = true)
Link
build(context = nil, nonce = nil, nonce_directives = nil)
Link
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 208 def build(context = nil, nonce = nil, nonce_directives = nil) nonce_directives = DEFAULT_NONCE_DIRECTIVES if nonce_directives.nil? build_directives(context, nonce, nonce_directives).compact.join("; ") end
initialize_copy(other)
Link
plugin_types(*types)
Link
report_uri(uri)
Link
require_sri_for(*types)
Link
sandbox(*values)
Link
upgrade_insecure_requests(enabled = true)
Link