Index: openacs-4/packages/acs-templating/tcl/head-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/head-procs.tcl,v diff -u -r1.45.2.1 -r1.45.2.2 --- openacs-4/packages/acs-templating/tcl/head-procs.tcl 10 Mar 2019 21:59:11 -0000 1.45.2.1 +++ openacs-4/packages/acs-templating/tcl/head-procs.tcl 27 Mar 2019 17:21:20 -0000 1.45.2.2 @@ -603,6 +603,16 @@ # browsers by checking the user agent. # security::csp::require script-src 'unsafe-inline' + } else { + # + # Replace potential URN in src with resolved value + # + set key ::template::head::urn($src) + if {[info exists $key]} { + set src [set $key] + } elseif {[string match urn:* $src]} { + ns_log error "URN <$src> could not be resolved" + } } lappend ::template::body_scripts $type $src $charset $defer $async $script $crossorigin $integrity