Index: openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl 29 Mar 2018 08:15:21 -0000 1.3 +++ openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl 12 Jun 2018 09:21:11 -0000 1.4 @@ -242,9 +242,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 }