Skip to content

Commit ca0921d

Browse files
authored
Fix #3386: set appropriate CSP for attachment previews in images (#3550)
1 parent 3db241c commit ca0921d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kinto/plugins/admin/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def admin_home_view(request):
3232
allow_local_only = "; ".join(
3333
(
3434
"default-src 'self'",
35-
"img-src data: 'self'",
35+
"img-src data: *",
3636
"script-src 'self' 'unsafe-inline' 'unsafe-eval'",
3737
"style-src 'self' 'unsafe-inline'",
3838
)

0 commit comments

Comments
 (0)