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 8d6dbc5 commit 41d0e68Copy full SHA for 41d0e68
lib/secure_headers/headers/content_security_policy.rb
@@ -213,7 +213,7 @@ def populate_nonces(directive, source_list)
213
# unsafe-inline, this is more concise.
214
def append_nonce(source_list, nonce)
215
if nonce
216
- source_list.push(*["'nonce-#{nonce}'", UNSAFE_INLINE])
+ source_list.push("'nonce-#{nonce}'", UNSAFE_INLINE)
217
end
218
219
source_list
0 commit comments