Index: openacs-4/packages/xotcl-core/tcl/http-client-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/http-client-procs.tcl,v diff -u -N -r1.40.2.2 -r1.40.2.3 --- openacs-4/packages/xotcl-core/tcl/http-client-procs.tcl 8 May 2019 14:30:45 -0000 1.40.2.2 +++ openacs-4/packages/xotcl-core/tcl/http-client-procs.tcl 17 Jun 2019 10:20:51 -0000 1.40.2.3 @@ -122,7 +122,7 @@ # # HttpRequestTrace can be used to trace one or all requests. # If activated, the class writes protocol data into - # /tmp/req-. + # [ad_tmpdir]/req-. # # Use # @@ -790,7 +790,7 @@ :instvar F post_data set :meta [list] set :requestCount [nsv_incr HttpRequestTrace count] ;# make it an instvar to find it in the log file - set F [open /tmp/req-[format %.4d ${:requestCount}] w] + set F [open [ad_tmpdir]/req-[format %.4d ${:requestCount}] w] set method [expr {$post_data eq "" ? "GET" : "POST"}] puts $F "$method [:path] HTTP/1.0"