Open timfsw opened 1 year ago
Hi,
I have been affected by the same problem. At the moment the only workaround is to add data-turbo-track="reload"
to stylesheet tag.
I've created sample application that shows this problem (take a look at readme - it describes how to recreate it): https://github.com/rience/turbo-and-nonce
Has anyone any idea with the style tag doesn't work in Firefox with activated Content Security Policy and Turbo? The script tag works well.
When i visit the page directly (without turbo) there is no CSP error.
The error is thrown in
replaceWith
with following error message:Content Security Policy: The page's settings blocked the loading of a resource at inline ("style-src").