File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ server {
186186
187187 # Rules set to 'none' here would fallback to default-src if excluded.
188188 # They are included here to ease interpretation of violation reports.
189- add_header Content-Security-Policy-Report-Only "default-src 'none'; connect-src 'self' https://translate.google.com https://translate.googleapis.com; font-src 'self'; frame-src 'self' https://getodk.github.io/central/news.html; img-src * data: https://translate.google.com; manifest-src 'none'; media-src 'none'; object-src 'none'; script-src 'self'; style-src 'self'; style-src-attr 'unsafe-inline'; worker-src data :; report-uri /csp-report";
189+ add_header Content-Security-Policy-Report-Only "default-src 'none'; connect-src 'self' https://translate.google.com https://translate.googleapis.com; font-src 'self'; frame-src 'self' https://getodk.github.io/central/news.html; img-src * data: https://translate.google.com; manifest-src 'none'; media-src 'none'; object-src 'none'; script-src 'self'; style-src 'self'; style-src-attr 'unsafe-inline'; worker-src blob :; report-uri /csp-report";
190190
191191 include /usr/share/odk/nginx/common-headers.conf;
192192 }
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const contentSecurityPolicies = {
5050 'script-src' : self ,
5151 'style-src' : self ,
5252 'style-src-attr' : unsafeInline ,
53- 'worker-src' : 'data :' ,
53+ 'worker-src' : 'blob :' ,
5454 'report-uri' : '/csp-report' ,
5555 } ) ,
5656 'disallow-all' : {
You can’t perform that action at this time.
0 commit comments