diff --git a/application.properties b/application.properties index dccc6be..9eabdce 100644 --- a/application.properties +++ b/application.properties @@ -165,32 +165,33 @@ context.workDirLocation=/work/Tomcat/localhost ## START OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT) csp.enforce=\ - default-src 'self' https: ;\ - connect-src 'self' ${LABKEY.ALLOWED.CONNECTIONS} ;\ - object-src 'none' ;\ - style-src 'self' https: 'unsafe-inline' ;\ - img-src 'self' https: data: ;\ - font-src 'self' data: ;\ - script-src 'self' 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ;\ - base-uri 'self' ;\ + default-src 'self' https: ; \ + connect-src 'self' ${CONNECTION.SOURCES} ; \ + object-src 'none' ; \ + style-src 'self' https: 'unsafe-inline' ${STYLE.SOURCES} ; \ + img-src 'self' https: data: ${IMAGE.SOURCES} ; \ + font-src 'self' data: ${FONT.SOURCES} ; \ + script-src 'self' 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ; \ + base-uri 'self' ; \ upgrade-insecure-requests ;\ - frame-ancestors 'self' ;\ - report-uri https://www.labkey.org/admin-contentsecuritypolicyreport.api?${CSP.REPORT.PARAMS} ; + frame-ancestors 'self' ; \ + frame-src 'self' ${FRAME.SOURCES} ; \ + report-uri https://www.labkey.org/admin-contentSecurityPolicyReport.api?cspVersion=e10&${CSP.REPORT.PARAMS} ; ## END OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT) ## START OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT) csp.report=\ - default-src 'self' ; /* Limit the default to only the current server */\ - connect-src 'self' ${CONNECTION.SOURCES} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\ - object-src 'none' ; /* These tags are not currently used by LKS */\ - style-src 'self' 'unsafe-inline' ${STYLE.SOURCES} ; /* We currently have a few inline