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 370ada3 commit 3aae0d4Copy full SHA for 3aae0d4
lib/secure_headers/headers/content_security_policy.rb
@@ -66,7 +66,7 @@ module Constants
66
DIRECTIVES_2_0 + DIRECTIVES_DRAFT
67
).freeze
68
69
- ALL_DIRECTIVES = [DIRECTIVES_1_0 + DIRECTIVES_2_0 + DIRECTIVES_3_0 + DIRECTIVES_DRAFT].flatten.sort.uniq
+ ALL_DIRECTIVES = [DIRECTIVES_1_0 + DIRECTIVES_2_0 + DIRECTIVES_3_0 + DIRECTIVES_DRAFT].flatten.uniq.sort
70
CONFIG_KEY = :csp
71
end
72
0 commit comments