util::string_check_urlsafe (public, deprecated)

 util::string_check_urlsafe s1

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Deprecated. Invoking this procedure generates a warning.

This proc accepts a string and verifies if it is url safe. - make sure there is no space - make sure there is no special characters except '-' or '_' Returns 1 if yes and 0 if not. Meant to be used in the validation section of ad_form. DEPRECATED: this proc is not in use in upstream code as of 2022-09-5. It also looks as if this will return true when a string is NOT safe.

Parameters:
s1 (required)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) util::string_check_urlsafe util::string_check_urlsafe util::string_check_urlsafe->ad_log_deprecated

Testcases:
No testcase defined.
[ show source ]
Show another procedure: