You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## END OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT)
180
181
181
182
## START OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT)
182
183
csp.report=\
183
-
default-src 'self' ; /* Limit the default to only the current server */\
184
-
connect-src 'self' ${CONNECTION.SOURCES} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\
185
-
object-src 'none' ; /* These tags are not currently used by LKS */\
186
-
style-src 'self' 'unsafe-inline' ${STYLE.SOURCES} ; /* We currently have a few inline <style> tags that we are weeding out */\
script-src 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ; /* Limit scripts that are allowed to those with nonces or transitive scripts */\
190
-
base-uri 'self' ; /* Limit the base tags to only source from current server */\
191
-
frame-ancestors 'self' ; /* Only allow iframe resources to the current server */\
192
-
frame-src 'self' ${FRAME.SOURCES} ; /* Only allow iframe resources from the current server plus explicitly declared external sources */\
193
-
report-uri https://www.labkey.org/admin-contentsecuritypolicyreport.api?${CSP.REPORT.PARAMS} ; /* Reports any encountered CSP conflicts to the supplied URL */
184
+
default-src 'self' ; /* Limit the default to only the current server */\
script-src 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ; /* Limit scripts to those with nonces or transitive scripts */\
191
+
base-uri 'self' ; /* Limit the base tags to only source from current server */\
192
+
frame-ancestors 'self' ; /* Limit iframe content destinations (who can load this server's content into an iframe) */\
193
+
frame-src 'self' ${FRAME.SOURCES} ; /* Limit iframe content sources (from what servers can this server's iframe content be loaded) */\
194
+
report-uri https://www.labkey.org/admin-contentSecurityPolicyReport.api?cspVersion=r11&${CSP.REPORT.PARAMS} ; /* Report any encountered CSP violations to the supplied URL */
194
195
## END OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT)
195
196
196
197
## Load optional application.properties if file exists - used for one-off labkey cloud use cases etc.
0 commit comments