Skip to content

Commit a261be6

Browse files
committed
Support Directive.Script in ContentSecurityPolicyFilter.registerAllowedSources
1 parent 32ca413 commit a261be6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/embedded/src/org/labkey/embedded/LabKeyServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static void main(String[] args)
7474
object-src ${OBJECT.SOURCES} ; /* Substitution value defaults to 'none' unless overridden by an admin */
7575
style-src 'self' 'unsafe-inline' ${STYLE.SOURCES} ;
7676
img-src 'self' data: ${IMAGE.SOURCES} ;
77+
script-src-elem 'self' ${SCRIPT.SOURCES} ;
7778
font-src 'self' data: ${FONT.SOURCES} ;
7879
script-src 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ;
7980
base-uri 'self' ;

0 commit comments

Comments
 (0)