Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -N -r1.23.2.1 -r1.23.2.2 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 31 Dec 2006 21:09:54 -0000 1.23.2.1 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 21 Mar 2008 11:57:50 -0000 1.23.2.2 @@ -89,7 +89,7 @@ ns_set put [ns_conn outputheaders] "Content-Length" 0 ns_return 200 text/plain {} } else { - if {[info procs ad_returnfile_background] eq ""} { + if {[info procs ad_returnfile_background] eq "" || [security::secure_conn_p]} { ns_returnfile 200 $mime_type $filename } else { ad_returnfile_background 200 $mime_type $filename