👉 Problem below
🎯 Description of the issue
With newer browser, like Firefox and Chrome, uploading images, will throw an error "Some files couldn't be added"
▶🚶 Reproduction steps
Error notice: "Some files couldn't be added"
📃 Error log message
Error log shown at the browser console:
Content Security Policy: The page’s settings blocked the loading of a resource at blob:https://domain.name/d0a6e403-2f6f-48ba-95f3-e6ba93a29136 (“default-src”).
I have set CSP for the img-src, too, but whatever I put there, the error still redirect to 'default-src'
This not happen with older browser, or even IE 11 have no problems.
Not sure why recent browser throw this error. Any tips without disabling CSP?
Thanks in advance.
🎯 Description of the issue
With newer browser, like Firefox and Chrome, uploading images, will throw an error "Some files couldn't be added"
▶🚶 Reproduction steps
- Open browser, upload any images. using newest Chrome or Firefox.
- Click upload.
Error notice: "Some files couldn't be added"
📃 Error log message
Error log shown at the browser console:
Content Security Policy: The page’s settings blocked the loading of a resource at blob:https://domain.name/d0a6e403-2f6f-48ba-95f3-e6ba93a29136 (“default-src”).
I have set CSP for the img-src, too, but whatever I put there, the error still redirect to 'default-src'
This not happen with older browser, or even IE 11 have no problems.
Not sure why recent browser throw this error. Any tips without disabling CSP?
Thanks in advance.