Hello,
I'm using Stimulsoft Viewer for Angular, and i'm having issues when the report contains graphics due to CSP rules.
My CSP rule is a simple script-src 'self'.
Graphic not showing data:
Console Error:
When i add 'unsafe-inline', it's fine:
It's not a good practice to allow unsafe-inline in any html application. Is there a workaround or a fix to this issue?
Thanks
CSP violation using Angular Viewer when report contain graphics
-
- Posts: 9
- Joined: Wed Apr 05, 2017 2:41 pm
Re: CSP violation using Angular Viewer when report contain graphics
Hello
From version 2024.4.1 you can use 'nonce-stichartanimation' to allow chart animation script
From version 2024.4.1 you can use 'nonce-stichartanimation' to allow chart animation script
-
- Posts: 9
- Joined: Wed Apr 05, 2017 2:41 pm
Re: CSP violation using Angular Viewer when report contain graphics
Hi Vadim
I will try that on next release. Thanks
I will try that on next release. Thanks
-
- Posts: 6651
- Joined: Tue Mar 20, 2018 5:34 am
Re: CSP violation using Angular Viewer when report contain graphics
Hello,
You are welcome.
You are welcome.