Index: openacs-4/packages/acs-templating/tcl/util-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/util-procs.tcl,v diff -u -r1.28.2.7 -r1.28.2.8 --- openacs-4/packages/acs-templating/tcl/util-procs.tcl 18 Sep 2015 07:31:49 -0000 1.28.2.7 +++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 18 Sep 2015 08:59:52 -0000 1.28.2.8 @@ -508,13 +508,13 @@ Resolve a URL into an absolute file path. } { - if { [string index $url 0] ne "/" } { - set path [file dirname $reference_url]/$url - } else { - set path $::acs::rootdir/$url - } + if { [string index $url 0] ne "/" } { + set path [file dirname $reference_url]/$url + } else { + set path $::acs::rootdir/$url + } - return [ns_normalizepath $path] + return [template::themed_template [ns_normalizepath $path]] } ad_proc -public template::util::resolve_directory_url { url } { @@ -557,7 +557,6 @@ @see ad_get_cookie } { set headers [ns_conn headers] - set cookie [ns_set iget $headers Cookie] if { [regexp "$name=(\[^;\]+)" $cookie match value] } {