You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/secure_headers/headers/policy_management.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -217,7 +217,7 @@ def validate_config!(config)
217
217
raiseContentSecurityPolicyConfigError.new(":script_src is required, falling back to default-src is too dangerous. Use `script_src: OPT_OUT` to override")
218
218
end
219
219
if !config.report_only? && config.directive_value(:report_only)
220
-
raiseContentSecurityPolicyConfigError.new("Only the csp_report_only config should sset :report_only to true")
220
+
raiseContentSecurityPolicyConfigError.new("Only the csp_report_only config should set :report_only to true")
0 commit comments