Skip to content

Commit

Permalink
Fix bad example code in content_security_policy plugin documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Mar 1, 2024
1 parent f726d50 commit 8f8082a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roda/plugins/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module RodaPlugins
# content_security_policy.add_script_src 'example.com', [:nonce, 'foobarbaz']
# # script-src 'self' 'unsafe-eval' example.com 'nonce-foobarbaz';
#
# content_security_policy.get_script_src 'example.com', [:nonce, 'foobarbaz']
# content_security_policy.get_script_src
# # => [:self, :unsafe_eval, 'example.com', [:nonce, 'foobarbaz']]
#
# The clear method can be used to remove all settings from the policy.
Expand Down

0 comments on commit 8f8082a

Please sign in to comment.