최근 검색


최근 검색 없음

Chris Price's Avatar

Chris Price

가입한 날짜: 2021년 10월 16일

·

마지막 활동: 2021년 10월 16일

팔로잉

0

팔로워

0

총 활동 수

2

투표 수

0

가입 플랜

1

활동 개요

님의 최근 활동 Chris Price

Chris Price님이 에 게시물을 만듦

게시물 Q&A - Chat, messaging, and widgets

My app is using the web widget via the loading of the ze-snippet script. I am setting a nonce on the script element and I have followed the web widget CSP documentation. However, I am getting a CSP violation due to an iframe attempting to run an inline script.

I believe I've narrowed it down to the "asset_composer.js" script that's loaded into an iframe by the snippet. I can see that there's an inline script that does not have a nonce. The only way to remove this violation is to add "unsafe-inline" to my script policy, which is not acceptable. Am I missing something here? I've seen numerous conversations about CSP but none are related to this issue, and it appears there was an effort to improve this in the past couple years but it's still broken.

Thanks,

Chris

2021년 8월 03일에 게시됨 · Chris Price

0

팔로워

11

투표 수

13

댓글