Index: openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl,v diff -u -r1.1.2.12 -r1.1.2.13 --- openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 27 Nov 2014 15:01:19 -0000 1.1.2.12 +++ openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 28 Nov 2014 09:15:23 -0000 1.1.2.13 @@ -1118,7 +1118,7 @@ # Unfortunately, as we are interacting with a shell, there # is no way to escape content in an easy and safe way. We # just spool body content to a file and let it be read by curl. - set data_binary_tmpfile [ns_tmpnam] + set data_binary_tmpfile [ad_tmpnam] set wfd [open $data_binary_tmpfile w] puts -nonewline $wfd $body close $wfd @@ -1139,7 +1139,7 @@ } # Dump response headers into a tempfile to get them - set resp_headers_tmpfile [ns_tmpnam] + set resp_headers_tmpfile [ad_tmpnam] lappend cmd -D $resp_headers_tmpfile lappend cmd $url