Index: openacs-4/packages/acs-tcl/tcl/utilities-procs-aolserver.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs-aolserver.tcl,v diff -u -N -r1.6.2.3 -r1.6.2.4 --- openacs-4/packages/acs-tcl/tcl/utilities-procs-aolserver.tcl 10 Aug 2019 14:33:27 -0000 1.6.2.3 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs-aolserver.tcl 2 Aug 2021 21:26:55 -0000 1.6.2.4 @@ -132,7 +132,7 @@ {-path "/"} {-discard f} {-scriptable t} - {-samesite none} + {-samesite none} name {value ""} } { @@ -353,8 +353,7 @@ # If the file was not spooled, obtainit via [ns_conn content] # as write it to a file. # - set result [ad_tmpnam] - set F [open $result w] + set F [file tempfile result [ad_tmpdir]/nsspool-XXXXXX] if {$binary} { fconfigure $F -translation binary -encoding binary }