Skip to content

Commit eefa551

Browse files
committed
Fix typo
1 parent 44e5857 commit eefa551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/secure_headers/headers/policy_management.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def validate_config!(config)
217217
raise ContentSecurityPolicyConfigError.new(":script_src is required, falling back to default-src is too dangerous. Use `script_src: OPT_OUT` to override")
218218
end
219219
if !config.report_only? && config.directive_value(:report_only)
220-
raise ContentSecurityPolicyConfigError.new("Only the csp_report_only config should sset :report_only to true")
220+
raise ContentSecurityPolicyConfigError.new("Only the csp_report_only config should set :report_only to true")
221221
end
222222

223223
if config.report_only? && config.directive_value(:report_only) == false

0 commit comments

Comments
 (0)