Replies: 2 comments 3 replies
-
Just an update to one of my two issues -- seems that reinstalling the package did the trick. I now get the same nonce in both the response header as well as the inline-styles. But, I'm a little unsure how to address inline-blocks, e.g. I think it has something to do with specifying Please help someone? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks @jhjvandenbroek! Yes, this is what I think I'll have to now do. We have encountered a couple more issues, however: issue 1) I still see issue 2) We have an external JS file where we have specified |
Beta Was this translation helpful? Give feedback.
-
I have created a policy that extends the basic policy and in there I specify the following directives:
Also, I have in-line CSS in my blade files e.g.
<div class="margin-top-15 margin-bottom-15" style="color:#fbb858;">
AND (in another blade file)
TWO issues I have
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-JtEJ5TaHmHaA6zWodDAjL6PeLSqcz1jx' s3.eu-west-2.amazonaws.com maxcdn.bootstrapcdn.com". Either the 'unsafe-inline' keyword, a hash ('sha256-QUfDAksSVn8Wxl3zqrHA+td64lo9rOocO2iUohUW9uk='), or a nonce ('nonce-...') is required to enable inline execution.
**### In my inline style, I see nonce:
Whereas in my response header I see nonce: JtEJ5TaHmHaA6zWodDAjL6PeLSqcz1jx**
What am I missing?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions