ad_page_contract_filter_proc_path (public)
ad_page_contract_filter_proc_path name value_varname
Defined in packages/acs-tcl/tcl/tcl-documentation-procs.tcl
Checks whether the value is a Tcl word, or contains a few rather safe other characters ("-", "/", ".") used in (file-system) paths
- Parameters:
- name
value_varname
- Author:
- Gustaf Neumann
- Created:
- 24 June 2015
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- ad_page_contract_filters
Source code: upvar $value_varname value if {[regexp {^[\w/.-]+$} $value]} { return 1 } ad_complain [_ acs-tcl.lt_name_contains_invalid] return 0XQL Not present: Generic, PostgreSQL, Oracle