Closed olivier-thatch closed 11 months ago
Add nonce: true to javascript_include_tag directive.
nonce: true
javascript_include_tag
When using a Content Security Policy like script-src: strict-dynamic, Audits1984's script will fail to load unless a nonce is used.
script-src: strict-dynamic
This does nothing when the app does not have a CSP and so should be safe for everyone.
Thanks a lot @olivier-thatch 🙏
@jorgemanrubia No rush at all, but if you could release a new version with this fix, that'd be great :) Merry xmas! 🎄
Released 0.1.5 with this one. Thanks!
Add
nonce: true
tojavascript_include_tag
directive.When using a Content Security Policy like
script-src: strict-dynamic
, Audits1984's script will fail to load unless a nonce is used.This does nothing when the app does not have a CSP and so should be safe for everyone.