libheif-js icon indicating copy to clipboard operation
libheif-js copied to clipboard

Got an issue with Content Security Policy (CSP)

Open keeratita opened this issue 1 year ago • 1 comments

Hi,

I've got an issue about CSP when the security team doesn't allow to use unsafe-eval.

Uncaught (in promise) EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive

Is it possible that the future release will kindly consider this one as well? Thanks in advance 🙏🏻

keeratita avatar Feb 25 '25 09:02 keeratita

same issue

bharath-ganesan avatar Mar 19 '25 11:03 bharath-ganesan

Should be fixed now? Try 1.19.8

catdad avatar Jun 29 '25 15:06 catdad