We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As like the title, I would like to display all the settings at the /config/initializers/secure_headers.rb in the response header.
Would appreciate for your kind assist.
The text was updated successfully, but these errors were encountered:
Hello @chongfai13, did you mean to attach a screenshot?
I would like to display all the settings at the /config/initializers/secure_headers.rb
Just to confirm, you want to see what the underlying ruby object? So the output of SecureHeaders::Configuration.dup.csp? Something like:
SecureHeaders::Configuration.dup.csp
@base_uri=nil, @block_all_mixed_content=nil, @child_src=nil, @connect_src=nil, @default_src=["'self'", "https:"], @disable_nonce_backwards_compatibility=nil, @font_src=["'self'", "https:", "data:"], @form_action=nil, @frame_ancestors=nil, @frame_src=nil, @img_src=["'self'", "https:", "data:"], @manifest_src=nil, @media_src=nil, @navigate_to=nil, @object_src=["'none'"], @plugin_types=nil, @prefetch_src=nil, @preserve_schemes=nil, @report_only=nil, @report_uri=nil, @require_sri_for=nil, @sandbox=nil, @script_nonce=nil, @script_src=["https:"], @style_nonce=nil, @style_src=["'self'", "https:", "'unsafe-inline'"], @upgrade_insecure_requests=nil, @worker_src=nil>
Sorry, something went wrong.
I manage to solve this issue, by default the setting is showing all option at the response header.
(correct url: #432)
No branches or pull requests
As like the title, I would like to display all the settings at the /config/initializers/secure_headers.rb in the response header.
Would appreciate for your kind assist.
The text was updated successfully, but these errors were encountered: