Index: openacs-4/packages/openacs-bootstrap3-theme/tcl/init-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/openacs-bootstrap3-theme/tcl/init-procs.tcl,v diff -u -N -r1.5.2.5 -r1.5.2.6 --- openacs-4/packages/openacs-bootstrap3-theme/tcl/init-procs.tcl 8 Aug 2020 11:19:23 -0000 1.5.2.5 +++ openacs-4/packages/openacs-bootstrap3-theme/tcl/init-procs.tcl 5 Apr 2022 07:43:30 -0000 1.5.2.6 @@ -46,7 +46,7 @@ urn:ad:js:bootstrap3 js/bootstrap.min.js } if {$cdnHost ne ""} { - lappend result csp_lists [subst { + lappend result cspMap [subst { urn:ad:css:bootstrap3 { style-src $cdnHost font-src $cdnHost Index: openacs-4/packages/openacs-bootstrap3-theme/tcl/resource-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/openacs-bootstrap3-theme/tcl/resource-init.tcl,v diff -u -N -r1.3.2.6 -r1.3.2.7 --- openacs-4/packages/openacs-bootstrap3-theme/tcl/resource-init.tcl 22 Jul 2021 19:14:03 -0000 1.3.2.6 +++ openacs-4/packages/openacs-bootstrap3-theme/tcl/resource-init.tcl 5 Apr 2022 07:43:31 -0000 1.3.2.7 @@ -15,8 +15,8 @@ template::register_urn \ -urn $URN \ -resource $prefix/[dict get $resource_info urnMap $URN] \ - -csp_list [expr {[dict exists $resource_info csp_lists $URN] - ? [dict set $resource_info csp_lists $URN] + -csp_list [expr {[dict exists $resource_info cspMap $URN] + ? [dict get $resource_info cspMap $URN] : ""}] }