Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl 1 Oct 2017 12:16:05 -0000 1.9 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl 12 Jun 2018 09:21:11 -0000 1.10 @@ -246,9 +246,9 @@ } if {$title eq ""} {set title $name} - set file_upload_name [fs::remove_special_file_system_characters \ - -string $file_upload_name] - + set file_upload_name [ad_sanitize_filename \ + -tolower \ + $file_upload_name] if { $content_size ne "" } { incr content_size_total $content_size }