Reproduction link
Steps to reproduce
Examine the console, note all the blocks of css and that they do not have a nonce.
Click on the button to show the icon, examine the console, note the first entry has a nonce, others do not.
What is expected?
Every single block of inline style produced by ant to include the nonce when it is configured through ConfigProvider
What is actually happening?
Nonce is very rarely applied to inline styles
Environment | Info |
---|---|
antd | 5.1.6 |
React | 17.0.2 |
System | Any |
Browser | Chrome |
This issue has come up repeatedly and the issues have been closed without the issue actually being fixed. This is a huge issue for sites that need to have strict CSP's. Please apply the patch to 4.x as well.
2条答案
按热度按时间iecba09b1#
You may look for issues:
🤖 By issues-similarity-analysis
oaxa6hgo2#
Could you provide a html diff for this?