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 645696f commit 78ecd02Copy full SHA for 78ecd02
lib/secure_headers/headers/content_security_policy.rb
@@ -181,7 +181,7 @@ def validate_config!(config)
181
# because google.com is already in the config.
182
def idempotent_additions?(config, additions)
183
return false if config == OPT_OUT
184
- config == combine_policies(config, additions)
+ config.to_s == combine_policies(config, additions).to_s
185
end
186
187
# Public: combine the values from two different configs.
0 commit comments