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 } Index: openacs-4/packages/xowiki/www/xinha/file-selector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/xinha/file-selector.tcl,v diff -u -r1.20 -r1.21 --- openacs-4/packages/xowiki/www/xinha/file-selector.tcl 15 Sep 2017 07:00:27 -0000 1.20 +++ openacs-4/packages/xowiki/www/xinha/file-selector.tcl 12 Jun 2018 09:13:16 -0000 1.21 @@ -302,9 +302,9 @@ 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 } 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 -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 } 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/Attic/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 }