Index: openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl 1 Oct 2017 12:16:05 -0000 1.8 +++ openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl 12 Jun 2018 09:13:16 -0000 1.9 @@ -222,9 +222,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 }