You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the usage of following npm packages require 'unsafe-inline' to be added in the CSP header -
"@emotion/react": "version 11.7.0"
"@emotion/styled": "version 11.6.0"
We are getting following error message when we remove the 'unsafe-inline' from the CSP header - "Refused to apply inline CSS, because it violates following content security policy directive. Either 'unsafe-inline' keyword, or nonce or hash is required". We tried adding nonce and hash in CSP header, but it did not resolved the error. Is this a known issue ? Is there a resolution being planned in future or is this issue handled in some other versions of these npm packages ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Does the usage of following npm packages require 'unsafe-inline' to be added in the CSP header -
We are getting following error message when we remove the 'unsafe-inline' from the CSP header - "Refused to apply inline CSS, because it violates following content security policy directive. Either 'unsafe-inline' keyword, or nonce or hash is required". We tried adding nonce and hash in CSP header, but it did not resolved the error. Is this a known issue ? Is there a resolution being planned in future or is this issue handled in some other versions of these npm packages ?
Beta Was this translation helpful? Give feedback.
All reactions