fs::remove_special_file_system_characters (public, deprecated)

 fs::remove_special_file_system_characters -string string

Defined in packages/file-storage/tcl/file-storage-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Remove unsafe filesystem characters. Useful if you want to use $string as the name of an object to write to disk.

Switches:
-string (required)

See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) ad_get_tcl_call_stack ad_get_tcl_call_stack (public) fs::remove_special_file_system_characters fs::remove_special_file_system_characters fs::remove_special_file_system_characters->_ fs::remove_special_file_system_characters->ad_get_tcl_call_stack

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc fs::remove_special_file_system_characters used:\n[ad_get_tcl_call_stack]"

    regsub -all -- {[<>:\"|/@\#%&+\\]} $string {_} string
    return [string trim $string]
Generic XQL file:
packages/file-storage/tcl/file-storage-procs.xql

PostgreSQL XQL file:
packages/file-storage/tcl/file-storage-procs-postgresql.xql

Oracle XQL file:
packages/file-storage/tcl/file-storage-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: