From 0253ece1747a536747dfb7d3d230dea9e43fb90e Mon Sep 17 00:00:00 2001 From: labkey-chrisj <16809856+labkey-chrisj@users.noreply.github.com> Date: Wed, 23 Apr 2025 21:22:08 +0000 Subject: [PATCH] update CSP to match commit bafbb28acbf866ef19e253f41fc74937adaa682d --- application.properties | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/application.properties b/application.properties index 9eabdce..bcea7b8 100644 --- a/application.properties +++ b/application.properties @@ -165,18 +165,18 @@ context.workDirLocation=/work/Tomcat/localhost ## START OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT) csp.enforce=\ - 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' ; \ + default-src 'self' ; /* Limit the default to only the current server */\ + connect-src 'self' ${CONNECTION.SOURCES} ; /* Limit allowed connection sources */\ + object-src 'none' ; /* These tags are not currently used by LKS */\ + style-src 'self' 'unsafe-inline' ${STYLE.SOURCES} ; /* We currently have a few inline