It is currently 6 December 2022, 21:46 Advanced search

unsafe-eval

Domande e risposte su come utilizzare Instant Developer Foundation al meglio

unsafe-eval

Postby gsenia57 » 23 August 2022, 16:25

Applicazione esposta al pubblico configurata dietro reverse proxy NGINX

L'applicazione si blocca "Caricamento componenti....."
Verificando ho trovato:

Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
Biodiv.aspx:32 Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' http: https: data: blob: 'unsafe-inline'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

AnimateWait @ Biodiv.aspx:32
(anonymous) @ Biodiv.aspx:41
Biodiv.aspx?WCI=RD3&WCE=GZ&FN=RD3/full.js:1 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' http: https: data: blob: 'unsafe-inline'".

at new Function (<anonymous>)
at DDManager.Init (Biodiv.aspx?WCI=RD3&WCE=GZ&FN=RD3/full.js:1:16100)
at new DDManager (Biodiv.aspx?WCI=RD3&WCE=GZ&FN=RD3/full.js:1:16051)
at InitRD3 (Biodiv.aspx?WCI=RD3&WCE=GZ&FN=RD3/full.js:1:51271)
at onload (Biodiv.aspx:13:50)

Domanda: bisogna configurare diversamente NGINX ? Corretto l'utilizzo di "eval"
gsenia57
 
Posts: 1
Joined: 23 August 2022, 16:20

Return to Tips & Tricks - Foundation

Who is online

Users browsing this forum: Google [Bot] and 10 guests

cron