We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e04fa3 commit 0474176Copy full SHA for 0474176
lib/secure_headers/headers/referrer_policy.rb
@@ -33,7 +33,7 @@ def validate_config!(config)
33
when String, Array
34
config = Array(config)
35
unless config.all? { |t| t.is_a?(String) && VALID_POLICIES.include?(t.downcase) }
36
- raise ReferrerPolicyConfigError.new("Value can only be one or more of #{VALID_POLICIES.join(', ')}")
+ raise ReferrerPolicyConfigError.new("Value can only be one or more of #{VALID_POLICIES.join(", ")}")
37
end
38
else
39
raise TypeError.new("Must be a string or array of strings. Found #{config.class}: #{config}")
0 commit comments