Optimized CSP

This commit is contained in:
2025-05-15 09:03:01 +02:00
parent 551c041452
commit 779c60ef20
12 changed files with 61 additions and 21 deletions

View File

@@ -19,11 +19,11 @@ class TestCspFilters(unittest.TestCase):
},
'flags': {
'script-src': {
'unsafe_eval': True,
'unsafe_inline': False,
'unsafe-eval': True,
'unsafe-inline': False,
},
'style-src': {
'unsafe_inline': True,
'unsafe-inline': True,
},
},
'hashes': {