Index: openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl,v diff -u -r1.45.2.4 -r1.45.2.5 --- openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 28 Oct 2020 15:39:19 -0000 1.45.2.4 +++ openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 13 Jan 2021 12:39:47 -0000 1.45.2.5 @@ -458,7 +458,12 @@ ns_log notice "we can use the http::util:: interface using the $httpImpls implementation" set result [util::http::get -url $url -timeout $timeout -spool] file rename [dict get $result file] $output_file_name - } elseif {[namespace which ::ns_http] ne "" && [apm_version_names_compare [ns_info patchlevel] "4.99.5"] == 1} { + } elseif { + [namespace which ::ns_http] ne "" + && [apm_version_names_compare \ + [regsub -nocase {rc[[:digit:]]*$} [ns_info patchlevel] {}] \ + "4.99.5"] == 1 + } { # # ... use ns_http when we have a version with the "-file" flag ... #