From be0b6f8a9c57495882040d9855b9887137734ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Fjellstr=C3=B6m?= Date: Wed, 29 Mar 2023 14:29:58 +0100 Subject: [PATCH] Adding blob: as source to CSP header --- www/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/index.html b/www/index.html index dcb0032..39bfee2 100644 --- a/www/index.html +++ b/www/index.html @@ -335,6 +335,11 @@

Source List Reference

img-src 'self' data: Allows loading resources via the data scheme (eg Base64 encoded images). + + 'blob:' + object-src blob: + Allows loading and saving resources on the client's file system + example.com img-src example.com @@ -384,7 +389,6 @@

Source List Reference

'unsafe-hashes' script-src 'unsafe-hashes' 'sha256-abc...' Allows you to enable scripts in event handlers (eg onclick). Does not apply to javascript: or inline <script> CSP Level 3 -