akveo / akveo/eva-icons

Conflicts with CSP 'nonce' policy

オープン
#136 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
8.8k
フォーク
371
PR マージ指標
30日以内にマージされた PR はありません

説明

Eva uses _Isomorphic-style-loader_ to load animation styles into the document. If site has a CSP policy of **style-src: 'nonce-xyz'**, it prevents the eva styles from getting loaded.

Both angular and webpack provide ways to use nonce with the inline styles they append:

webpack: https://webpack.js.org/loaders/style-loader/#nonce
angular: https://angular.dev/best-practices/security#content-security-policy

We can utilize either of these mechanisms and develop an approach to resolve this conflict.

Want to hear what community thinks of this?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。