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.26 -r1.27 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 29 Aug 2007 18:28:16 -0000 1.26 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 21 Mar 2008 11:57:45 -0000 1.27 @@ -90,7 +90,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