Index: openacs-4/packages/acs-tcl/tcl/security-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.tcl,v diff -u -r1.126.2.78 -r1.126.2.79 --- openacs-4/packages/acs-tcl/tcl/security-procs.tcl 13 Nov 2022 09:37:49 -0000 1.126.2.78 +++ openacs-4/packages/acs-tcl/tcl/security-procs.tcl 26 Nov 2022 16:47:54 -0000 1.126.2.79 @@ -1196,7 +1196,7 @@ # set tmpfile [ns_normalizepath $tmpfile] - if {[ad_file dirname $tmpfile] ni [ns_config ns/parameters tmpdir]} { + if {[ad_file dirname $tmpfile] ne [ns_config ns/parameters tmpdir]} { # # File is not a direct child of one of the tmpfolders: not safe #